diff options
Diffstat (limited to 'test/Driver/cfi.c')
-rw-r--r-- | test/Driver/cfi.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Driver/cfi.c b/test/Driver/cfi.c new file mode 100644 index 0000000..b5c0c03 --- /dev/null +++ b/test/Driver/cfi.c @@ -0,0 +1,8 @@ +// RUN: %clang -ccc-host-triple i386-apple-darwin10 -static -### %s 2>&1 | \ +// RUN: FileCheck --check-prefix=CHECK-DARWIN %s + +// RUN: %clang -ccc-host-triple i386-pc-linux-gnu -static -### %s 2>&1 | \ +// RUN: FileCheck --check-prefix=CHECK-LINUX %s + +// CHECK-DARWIN: -fno-dwarf2-cfi-asm +// CHECK-LINUX-NOT: -fno-dwarf2-cfi-asm |