1 // RUN: %clang_cc1 -triple x86_64-windows -fasync-exceptions -x c++ \
2 // RUN: -emit-llvm %s -o -| FileCheck %s
4 extern "C" int printf(const char*,...);
9 PrintfArg(const char* s
);
11 // compiler crash fixed if this destructor removed
12 ~PrintfArg() {int x
; printf("ddd\n"); }
15 void devif_Warning(const char* fmt
, PrintfArg arg1
= PrintfArg());
16 // CHECK-NOT: invoke void @llvm.seh.scope.begin()
17 // CHECK-NOT: invoke void @llvm.seh.scope.end()
18 unsigned myfunc(unsigned index
)