1// REQUIRES: x86-registered-target,x86-64-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