llvm-project/clang/test/Sema/rdar6248119.m

12 lines
195 B
Mathematica
Raw Normal View History

// RUN: clang -fsyntax-only %s -verify
// Test case for:
// <rdar://problem/6248119> @finally doesn't introduce a new scope
void f0() {
int i;
@try {
} @finally {
int i = 0;
}
}