llvm-project/clang/test/CodeGen/debug-info-line3.c
Eric Christopher 3cc207bbcc Forward declarations should take a context. This helps the debugger
find forward declarations in the context that the actual definition
will occur.

rdar://11291658

llvm-svn: 155381
2012-04-23 19:00:24 +00:00

17 lines
195 B
C

// 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 !17
// CHECK: !17 = metadata !{i32 6,