repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git]
/
test
/
CodeGen
/
debug-info-line.c
blob
b255d90b34c8aedd003315c2fd1e0d44d977c468
1
// RUN: %clang -emit-llvm -S -g %s -o %t
2
// RUN: grep DW_TAG_lexical_block %t | count 3
3
4
// Radar 8396182
5
// There are three lexical blocks in this test case.
6
7
int
foo
() {
8
int
i
=
1
;
9
# 4
"m.c"
10
# 1
"m.h"
1
11
int
j
=
2
;
12
# 2
"m.h"
13
# 5
"m.c"
2
14
return
i
+
j
;
15
}