blob: f4a6a222182e60cb634e290c592c226fe61198cc [file] [log] [blame]
Eric Christopherb9c8c422011-10-19 00:44:01 +00001// RUN: %clang_cc1 -g -fobjc-exceptions -emit-llvm %s -o - | FileCheck %s
2@interface Foo @end
3void f0() {
4 @try {
5 @throw @"a";
6 } @catch(Foo *e) {
7 }
8}
9
10// We should have 4 lexical blocks here at the moment, including one
11// for the catch block.
12// CHECK: lexical_block
13// CHECK: lexical_block
14// CHECK: lexical_block
15// CHECK: auto_variable
16// CHECK: lexical_block