summaryrefslogtreecommitdiff
path: root/clang/test/Driver/noinline.c
blob: e665b2f0aa247125518472979148323b481387dd (about) (plain)
1
2
3
4
5
6
7
8
9
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"