find forward declarations in the context that the actual definition will occur. rdar://11291658 llvm-svn: 155381
17 lines
195 B
C
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,
|