2011-09-10 05:53:04 +08:00
|
|
|
// RUN: %clang_cc1 -g -S -emit-llvm %s -o - | FileCheck %s
|
|
|
|
|
|
|
|
void func(char c, char* d)
|
|
|
|
{
|
|
|
|
*d = c + 1;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-10-19 05:52:18 +08:00
|
|
|
// CHECK: ret void, !dbg [[LINE:.*]]
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[LINE]] = !DILocation(line: 6,
|