blob: da672c43f8d43fe96e98be595124f7590a182daa [file] [log] [blame]
Anders Carlssona994ee42010-02-06 23:59:05 +00001// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
2
3void g();
4
5// CHECK: define void @_Z1fv() nounwind
6void f() throw (int) {
7
8 // CHECK-NOT: invoke void @_Z1gv
9 g();
10 // CHECK: call void @_Z1gv()
11 // CHECK: ret void
12}