Galina Kistanova | 0ccb31c | 2011-06-03 22:24:54 +0000 | [diff] [blame] | 1 | // REQUIRES: x86-registered-target,x86-64-registered-target |
Anders Carlsson | e9b801f | 2011-02-22 01:52:06 +0000 | [diff] [blame] | 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 |
Chris Lattner | b02e53b | 2009-04-06 16:53:45 +0000 | [diff] [blame] | 4 | |
| 5 | // rdar://6757213 - Don't crash if the internal proto for |
| 6 | // __objc_personality_v0 mismatches with an actual one. |
| 7 | void __objc_personality_v0() { } |
| 8 | void test1(void) { |
| 9 | @try { } @catch (...) { } |
| 10 | } |