summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2009-04-23-dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2009-04-23-dbg.c')
-rw-r--r--test/CodeGen/2009-04-23-dbg.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/CodeGen/2009-04-23-dbg.c b/test/CodeGen/2009-04-23-dbg.c
new file mode 100644
index 0000000..4be6dab
--- /dev/null
+++ b/test/CodeGen/2009-04-23-dbg.c
@@ -0,0 +1,20 @@
+// RUN: clang-cc -g -o %t %s -emit-llvm-bc && llc %t -f -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;
+}
OpenPOWER on IntegriCloud