1 // RUN: %clang_cc1 %s -fexceptions -emit-llvm -triple x86_64-w64-windows-gnu -o - | FileCheck %s --check-prefix=X64
2 // RUN: %clang_cc1 %s -fexceptions -emit-llvm -triple i686-w64-windows-gnu -o - | FileCheck %s --check-prefix=X86
13 extern "C" void test() {
18 // X64: define void @test()
19 // X64-SAME: personality i8* bitcast (i32 (...)* @__gxx_personality_seh0 to i8*)
20 // X64: invoke void @foo()
21 // X64: landingpad { i8*, i32 }
23 // X86: define void @test()
24 // X86-SAME: personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
25 // X86: invoke void @foo()
26 // X86: landingpad { i8*, i32 }