summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/debug-info-line3.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/debug-info-line3.c')
-rw-r--r--clang/test/CodeGen/debug-info-line3.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-info-line3.c b/clang/test/CodeGen/debug-info-line3.c
new file mode 100644
index 0000000..645ffb9
--- /dev/null
+++ b/clang/test/CodeGen/debug-info-line3.c
@@ -0,0 +1,16 @@
+// RUN: %clang_cc1 -g -S -emit-llvm %s -o - | FileCheck %s
+
+void func(char c, char* d)
+{
+ *d = c + 1;
+ return;
+
+
+
+
+
+
+}
+
+// CHECK: ret void, !dbg !19
+// CHECK: !19 = metadata !{i32 6,