diff options
Diffstat (limited to 'clang/test/CodeGen/debug-info-static.c')
-rw-r--r-- | clang/test/CodeGen/debug-info-static.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-info-static.c b/clang/test/CodeGen/debug-info-static.c new file mode 100644 index 0000000..e75d20f --- /dev/null +++ b/clang/test/CodeGen/debug-info-static.c @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -g -emit-llvm -o - %s | FileCheck %s + +// CHECK: xyzzy} ; [ DW_TAG_variable ] +void f(void) +{ + static int xyzzy; + xyzzy += 3; +} |