diff options
Diffstat (limited to 'test/Driver/darwin-debug-flags.c')
-rw-r--r-- | test/Driver/darwin-debug-flags.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Driver/darwin-debug-flags.c b/test/Driver/darwin-debug-flags.c new file mode 100644 index 0000000..7ce6137 --- /dev/null +++ b/test/Driver/darwin-debug-flags.c @@ -0,0 +1,11 @@ +// RUN: env RC_DEBUG_OPTIONS=1 %clang -ccc-host-triple i386-apple-darwin9 -g -Os %s -emit-llvm -S -o - | FileCheck %s +// <rdar://problem/7256886> + +// CHECK: !1 = metadata !{ +// CHECK: -cc1 +// CHECK: -triple i386-apple-darwin9 +// CHECK: -g +// CHECK: -Os +// CHECK: [ DW_TAG_compile_unit ] + +int x; |