1 // RUN: %clang_cc1 -triple i386-apple-macosx10.6.6 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -fobjc-exceptions -fcxx-exceptions -fexceptions -o - %s | FileCheck %s
7 @implementation ns_array
8 + (id) array { return 0; }
24 groups = Groups(); // throws on errors.
26 catch( INTF<P>* error )
32 // CHECK: landingpad { ptr, i32 }
33 // CHECK-NEXT: catch ptr @_ZTIPU11objcproto1P4INTF
34 // CHECK-NEXT: catch ptr @_ZTIP11objc_object
35 // CHECK-NEXT: catch ptr @_ZTIP10objc_class
37 groups = [ns_array array];
41 groups = [ns_array array];