summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2009-04-23-dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/2009-04-23-dbg.c')
-rw-r--r--clang/test/CodeGen/2009-04-23-dbg.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/clang/test/CodeGen/2009-04-23-dbg.c b/clang/test/CodeGen/2009-04-23-dbg.c
new file mode 100644
index 0000000..704aba2
--- /dev/null
+++ b/clang/test/CodeGen/2009-04-23-dbg.c
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -S -g -o %t %s
+# 1 "a.c"
+# 1 "a.c" 1
+# 1 "<built-in>" 1
+# 103 "<built-in>"
+# 103 "<command line>" 1
+
+# 1 "/private/tmp/a.h" 1
+int bar;
+# 105 "<command line>" 2
+# 105 "<built-in>" 2
+# 1 "a.c" 2
+# 1 "/private/tmp/a.h" 1
+int bar;
+# 2 "a.c" 2
+
+int main() {
+ bar = 0;
+ return 0;
+}