llvm-project/clang/test/CodeGen/debug-info-line3.c

17 lines
233 B
C
Raw Normal View History

// RUN: %clang_cc1 -debug-info-kind=limited -S -emit-llvm %s -o - | FileCheck %s
void func(char c, char* d)
{
*d = c + 1;
return;
}
// CHECK: ret void, !dbg [[LINE:.*]]
// CHECK: [[LINE]] = !DILocation(line: 6,