1 // RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o - -triple=x86_64-pc-windows-msvc \
2 // RUN: -fexceptions -fcxx-exceptions | FileCheck %s
4 // Make sure calls to inline asm have funclet bundles.
6 extern "C" void might_throw();
7 extern "C" void foo() {
15 // CHECK-LABEL: define dso_local void @foo()
16 // CHECK: invoke void @might_throw()
17 // CHECK: %[[CATCHPAD:[^ ]*]] = catchpad within
18 // CHECK: call void asm sideeffect "nop", {{.*}} [ "funclet"(token %[[CATCHPAD]]) ]