teak-llvm/clang/test/CodeGen/debug-info-line3.c
David Blaikie b9a23c9155 DebugInfo: Provide a less subtle way to set the debug location of simple ret instructions
un-XFAILing the test XFAIL'd in r225086 after it regressed in r225083.

llvm-svn: 225090
2015-01-02 22:07:26 +00:00

17 lines
199 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 [[LINE:.*]]
// CHECK: [[LINE]] = !{i32 6,