llvm-for-llvmta/tools/clang/test/CodeGen/debug-info-line3.c

17 lines
233 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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,