diff options
Diffstat (limited to 'test/CodeGen/debug-info-line3.c')
-rw-r--r-- | test/CodeGen/debug-info-line3.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CodeGen/debug-info-line3.c b/test/CodeGen/debug-info-line3.c new file mode 100644 index 0000000000000..645ffb9e74851 --- /dev/null +++ b/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, |