summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjCXX/exceptions.mm
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjCXX/exceptions.mm')
-rw-r--r--test/CodeGenObjCXX/exceptions.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGenObjCXX/exceptions.mm b/test/CodeGenObjCXX/exceptions.mm
index a62a82b..ef25f35 100644
--- a/test/CodeGenObjCXX/exceptions.mm
+++ b/test/CodeGenObjCXX/exceptions.mm
@@ -6,12 +6,13 @@ void opaque();
namespace test0 {
// CHECK-LABEL: define void @_ZN5test03fooEv
+ // CHECK-SAME: personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)
void foo() {
try {
// CHECK: invoke void @_Z6opaquev
opaque();
} catch (OCType *T) {
- // CHECK: landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__objc_personality_v0 to i8*)
+ // CHECK: landingpad { i8*, i32 }
// CHECK-NEXT: catch %struct._objc_typeinfo* @"OBJC_EHTYPE_$_OCType"
}
}
OpenPOWER on IntegriCloud