aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/lineno-dbginfo.c
blob: 72fa337eaf83d1dd7f74ca376a5cb1cafe31e789 (plain)
1
2
3
4
5
// RUN: echo "#include <stddef.h>" > %t.h
// RUN: %clang -S -g -include %t.h %s -emit-llvm -o %t.ll
// RUN: grep "i32 5" %t.ll
// outer is at line number 5.
int outer = 42;