llvm.org GIT mirror llvm / 327e002
testcase for recent bugfix git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35630 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 29 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 // RUN: %llvmgcc -c %s -o /dev/null
1
2 @interface B
3 -(int)bar;
4 @end
5
6 @interface A
7 -(void) Foo:(int) state;
8 @end
9
10 @implementation A
11 - (void) Foo:(int) state {
12
13 int wasResponded = 0;
14 @try {
15 if (state) {
16 B * b = 0;
17 @try { }
18 @finally {
19 wasResponded = ![b bar];
20 }
21 }
22 }
23 @finally {
24 }
25 }
26 @end
27
28