1// RUN: %clang_cc1 -fsyntax-only %s -verify -fobjc-exceptions 2// expected-no-diagnostics 3// Test case for: 4// <rdar://problem/6248119> @finally doesn't introduce a new scope 5 6void f0() { 7 int i; 8 @try { 9 } @finally { 10 int i = 0; 11 } 12} 13 14void f1() { 15 int i; 16 @try { 17 int i =0; 18 } @finally { 19 } 20} 21 22void f2() { 23 int i; 24 @try { 25 } @catch(id e) { 26 int i = 0; 27 } 28} 29