blob: 0f1042738f46b946defd6c63c18a0dba2d66004e [file] [log] [blame]
Yunzhong Gao51a31e12013-08-30 05:37:02 +00001// RUN: %clang %s -g -gcolumn-info -S -emit-llvm -o - | FileCheck %s
2// Line table entries should reference this cpp file, not the header
3
4#include "debug-info-line5.h"
5
6int result;
7int foo(unsigned);
8
9int main()
10{
11 while ( 1 )
12 {
13 result = foo(Marker);
14 }
15 return result;
16}
17
18// CHECK: !{{[0-9]*}} = metadata !{i32 {{[0-9]*}}, i32 {{[0-9]*}}, null, metadata !"Marker", {{.*}} ; [ DW_TAG_variable ] [Marker]