summaryrefslogtreecommitdiff
path: root/test/CodeGen/lineno-dbginfo.c
blob: 12c32ce9dd4b011d9e9fe5e987c2ab0c1061ecb5 (plain)
1
2
3
4
5
6
// RUN: echo "#include <stdio.h>" > %t.h &&
// RUN: clang -S -save-temps -g -include %t.h %s -emit-llvm -o %t.ll &&
// RUN: grep "i32 5" %t.ll &&
// RUN: rm -f lineno-dbginfo.i
// outer is at line number 5.
int outer = 42;