brintos

brintos / llvm-project-archived public Read only

0
0
Text · 382 B · 47f491e Raw
15 lines · cpp
1// RUN: %clang_cc1 %std_cxx11- -Wno-dynamic-exception-spec %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s2 3void g();4 5// CHECK: define{{.*}} void @_Z1fv() [[NUW:#[0-9]+]]6void f() throw (int) { 7 8  // CHECK-NOT: invoke void @_Z1gv9  g();10  // CHECK: call void @_Z1gv()11  // CHECK: ret void12}13 14// CHECK: attributes [[NUW]] = { mustprogress noinline nounwind{{.*}} }15