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