Files
clang-p2996/clang/test/Driver/noinline.c
Chad Rosier 9c76d24f9c [frontend] Fix how the frontend handles -fno-inline. AFAIK clang now matches
the behavior of gcc with respect to the -fno-inline and -fno-inline-functions
flags.

llvm-svn: 152861
2012-03-15 22:31:42 +00:00

11 lines
328 B
C

// 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"