diff options
author | Devang Patel <dpatel@apple.com> | 2011-11-04 16:57:26 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-11-04 16:57:26 +0000 |
commit | c915bc94892347e7084a61b7276e7614491cddcb (patch) | |
tree | be1cee62cb7093de81a2be1f3fb3178faa213e72 | |
parent | e7ef8556f4ee3012a0479308c993af0fbee448df (diff) |
Add new test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143704 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/debug-info-static.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/debug-info-static.c b/test/CodeGen/debug-info-static.c new file mode 100644 index 0000000000..e75d20fbac --- /dev/null +++ b/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; +} |