From f27e5a09a0d815b8a4814152954ff87dadfdefc0 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 2 Jun 2009 17:58:47 +0000 Subject: Import Clang, at r72732. --- test/CodeGenObjC/try.m | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/CodeGenObjC/try.m (limited to 'test/CodeGenObjC/try.m') diff --git a/test/CodeGenObjC/try.m b/test/CodeGenObjC/try.m new file mode 100644 index 0000000..7701b23 --- /dev/null +++ b/test/CodeGenObjC/try.m @@ -0,0 +1,9 @@ +// RUN: clang-cc %s -S -o - -triple=i686-apple-darwin9 && +// RUN: clang-cc %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 (...) { } +} -- cgit v1.1