summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/gnu-exceptions.m
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-20 07:22:19 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-20 07:22:19 +0000
commitc33fc4c00453099f4ac180313a67d6eb0f91ce0a (patch)
tree3522c3ac6a80d9d32c581884791649d862af2c76 /clang/test/CodeGenObjC/gnu-exceptions.m
parent90bc19cd914c9870c1d1701b3a3e290b135c63b6 (diff)
downloadbcm5719-llvm-c33fc4c00453099f4ac180313a67d6eb0f91ce0a.tar.gz
bcm5719-llvm-c33fc4c00453099f4ac180313a67d6eb0f91ce0a.zip
Modify the tests to use attribute group references instead of listing the
function attributes. llvm-svn: 175606
Diffstat (limited to 'clang/test/CodeGenObjC/gnu-exceptions.m')
-rw-r--r--clang/test/CodeGenObjC/gnu-exceptions.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/gnu-exceptions.m b/clang/test/CodeGenObjC/gnu-exceptions.m
index 604bcf2cc7a..3df92ef1dbb 100644
--- a/clang/test/CodeGenObjC/gnu-exceptions.m
+++ b/clang/test/CodeGenObjC/gnu-exceptions.m
@@ -6,7 +6,7 @@ void log(int i);
@class C;
-// CHECK: define void @test0() "target-features"={{.*}} {
+// CHECK: define void @test0() #0 {
void test0() {
@try {
// CHECK: invoke void @opaque()
@@ -30,3 +30,6 @@ void test0() {
log(1);
}
+
+// CHECK: attributes #0 = { "target-features"={{.*}} }
+// CHECK: attributes #1 = { nounwind readnone }
OpenPOWER on IntegriCloud