1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc void g(); 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambuc // CHECK: define void @_Z1fv() [[NUW:#[0-9]+]] f()6*f4a2713aSLionel Sambucvoid f() throw (int) { 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambuc // CHECK-NOT: invoke void @_Z1gv 9*f4a2713aSLionel Sambuc g(); 10*f4a2713aSLionel Sambuc // CHECK: call void @_Z1gv() 11*f4a2713aSLionel Sambuc // CHECK: ret void 12*f4a2713aSLionel Sambuc } 13*f4a2713aSLionel Sambuc 14*f4a2713aSLionel Sambuc // CHECK: attributes [[NUW]] = { nounwind{{.*}} } 15