xref: /aosp_15_r20/external/clang/test/CodeGenObjC/try.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1// REQUIRES: x86-registered-target
2// RUN: %clang_cc1 %s -fobjc-exceptions -S -o - -triple=i686-apple-darwin9
3// RUN: %clang_cc1 %s -fobjc-exceptions -S -o - -triple=x86_64-apple-darwin9
4
5// rdar://6757213 - Don't crash if the internal proto for
6// __objc_personality_v0 mismatches with an actual one.
7void __objc_personality_v0() { }
8void test1(void) {
9  @try { } @catch (...) { }
10}
11