summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/typeid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/typeid.cpp')
-rw-r--r--test/CodeGenCXX/typeid.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGenCXX/typeid.cpp b/test/CodeGenCXX/typeid.cpp
index 9d21290..364f058 100644
--- a/test/CodeGenCXX/typeid.cpp
+++ b/test/CodeGenCXX/typeid.cpp
@@ -31,13 +31,14 @@ const std::type_info &a_ti = typeid(a);
const std::type_info &A10_c_ti = typeid(char const[10]);
// CHECK-LABEL: define i8* @_ZN5Test11fEv
+// CHECK-SAME: personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
const char *f() {
try {
// CHECK: br i1
// CHECK: invoke void @__cxa_bad_typeid() [[NR:#[0-9]+]]
return typeid(*static_cast<A *>(0)).name();
} catch (...) {
- // CHECK: landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
+ // CHECK: landingpad { i8*, i32 }
// CHECK-NEXT: catch i8* null
}
OpenPOWER on IntegriCloud