mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 00:14:20 +00:00
Test case for r97851.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e080b038bf
commit
b0e59dda18
10
test/FrontendC/2010-03-5-LexicalScope.c
Normal file
10
test/FrontendC/2010-03-5-LexicalScope.c
Normal file
@ -0,0 +1,10 @@
|
||||
// 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user