diff options
Diffstat (limited to 'test/CodeGenCXX/microsoft-abi-eh-terminate.cpp')
-rw-r--r-- | test/CodeGenCXX/microsoft-abi-eh-terminate.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGenCXX/microsoft-abi-eh-terminate.cpp b/test/CodeGenCXX/microsoft-abi-eh-terminate.cpp index cbc1686..0b8d270 100644 --- a/test/CodeGenCXX/microsoft-abi-eh-terminate.cpp +++ b/test/CodeGenCXX/microsoft-abi-eh-terminate.cpp @@ -6,10 +6,10 @@ void never_throws() noexcept(true) { may_throw(); } -// CHECK-LABEL: define void @"\01?never_throws@@YAXXZ" +// CHECK-LABEL: define void @"\01?never_throws@@YAXXZ"() +// CHECK-SAME: personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) // CHECK: invoke void @"\01?may_throw@@YAXXZ"() - -// CHECK: landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) -// MSVC2013: call void @"\01?terminate@@YAXXZ"() -// MSVC2015: call void @__std_terminate() +// CHECK: cleanuppad within none [] +// MSVC2013: call void @"\01?terminate@@YAXXZ"() +// MSVC2015: call void @__std_terminate() // CHECK-NEXT: unreachable |