summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/2008-04-08-NoExceptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/2008-04-08-NoExceptions.c')
-rw-r--r--clang/test/CodeGen/2008-04-08-NoExceptions.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/test/CodeGen/2008-04-08-NoExceptions.c b/clang/test/CodeGen/2008-04-08-NoExceptions.c
index ab2781b58b9..7d533b7a3a2 100644
--- a/clang/test/CodeGen/2008-04-08-NoExceptions.c
+++ b/clang/test/CodeGen/2008-04-08-NoExceptions.c
@@ -2,9 +2,12 @@
void f(void);
void g(void) {
- // CHECK: define void @g() nounwind
+ // CHECK: define void @g() #0
// CHECK-NOT: call void @f() nounwind
f();
}
-// CHECK-NOT: declare void @f() nounwind
+// CHECK-NOT: declare void @f() #0
+
+// CHECK: attributes #0 = { nounwind {{.*}} }
+// CHECK: attributes #1 = { "target-features"={{.*}} }
OpenPOWER on IntegriCloud