From 222e2a7620e6520ffaf4fc4e69d79c18da31542e Mon Sep 17 00:00:00 2001 From: "Zancanaro; Carlo" Date: Mon, 24 Sep 2012 09:58:17 +1000 Subject: Add the clang library to the repo (with some of my changes, too). --- clang/test/Driver/noinline.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 clang/test/Driver/noinline.c (limited to 'clang/test/Driver/noinline.c') diff --git a/clang/test/Driver/noinline.c b/clang/test/Driver/noinline.c new file mode 100644 index 0000000..e665b2f --- /dev/null +++ b/clang/test/Driver/noinline.c @@ -0,0 +1,10 @@ +// Make sure the driver is correctly passing -fno-inline-functions +// rdar://10972766 + +// RUN: %clang -target x86_64-apple-darwin10 \ +// RUN: -fno-inline -fno-inline-functions -### -fsyntax-only %s 2> %t +// RUN: FileCheck --check-prefix=CHECK < %t %s + +// CHECK: clang +// CHECK: "-fno-inline" +// CHECK: "-fno-inline-functions" -- cgit v1.2.3