repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2010-03-5-LexicalScope.c
blob
c0da9f0f0cc33cc6bc0deb232e2e7f20d1dc6a61
1
// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
2
// CHECK: !DILexicalBlock(
3
// CHECK: !DILexicalBlock(
4
int
foo
(
int
i
) {
5
if
(
i
) {
6
int
j
=
2
;
7
}
8
else
{
9
int
j
=
3
;
10
}
11
return
i
;
12
}