diff options
Diffstat (limited to 'clang/test/CodeGen/debug-info-line3.c')
-rw-r--r-- | clang/test/CodeGen/debug-info-line3.c | 16 |
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, |