mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 14:47:00 +00:00
b0e59dda18
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97852 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
153 B
C
11 lines
153 B
C
// RUN: %llvmgcc -S -O0 -g %s -o - | grep DW_TAG_lexical_block | count 3
|
|
int foo(int i) {
|
|
if (i) {
|
|
int j = 2;
|
|
}
|
|
else {
|
|
int j = 3;
|
|
}
|
|
return i;
|
|
}
|