Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
3883e66cfd55de70d89831cf26f9ae53931d11d3
/
.
/
test
/
CodeGen
/
2010-03-5-LexicalScope.c
blob: 0f63ff6914b2e7c2f3afeb41796cf2039fc2ebe2 [
file
] [
log
] [
blame
]
Eric Christopher
3883e66
2011-07-26 22:17:02 +0000
[
diff
] [
blame^
]
1
// RUN: %clang_cc1 -emit-llvm -O0 -g %s -o - | grep DW_TAG_lexical_block | count 3
2
int
foo
(
int
i
)
{
3
if
(
i
)
{
4
int
j
=
2
;
5
}
6
else
{
7
int
j
=
3
;
8
}
9
return
i
;
10
}