llvm-for-llvmta/tools/clang/test/Driver/noinline.c

11 lines
307 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 < %t %s
// CHECK: clang
// CHECK: "-fno-inline"
// CHECK: "-fno-inline-functions"