Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s |
2 | |||||
3 | void f(void); | ||||
4 | void g(void) { | ||||
5 | // CHECK: define void @g() nounwind | ||||
6 | // CHECK-NOT: call void @f() nounwind | ||||
7 | f(); | ||||
8 | } | ||||
9 | |||||
10 | // CHECK-NOT: declare void @f() nounwind |