summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/try.m
blob: 884e33a219c09f9af8e2a22ae979fc8f84ce8f44 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 %s -S -o - -triple=i686-apple-darwin9
// RUN: %clang_cc1 %s -S -o - -triple=x86_64-apple-darwin9

// rdar://6757213 - Don't crash if the internal proto for
// __objc_personality_v0 mismatches with an actual one.
void __objc_personality_v0() { }
void test1(void) {
  @try { } @catch (...) { }
}
OpenPOWER on IntegriCloud