1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/FrontendC/2010-03-5-LexicalScope.c
2010-05-27 19:57:51 +00:00

11 lines
153 B
C

// RUN: %llvmgcc -S -O0 -g %s -o - | grep DW_TAG_lexical_block | count 2
int foo(int i) {
if (i) {
int j = 2;
}
else {
int j = 3;
}
return i;
}