summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/reference-cast.cpp
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/CodeGenCXX/reference-cast.cpp
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/CodeGenCXX/reference-cast.cpp')
-rw-r--r--clang/test/CodeGenCXX/reference-cast.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/reference-cast.cpp b/clang/test/CodeGenCXX/reference-cast.cpp
index 1d08b2b2e4b..ec4fdaf1965 100644
--- a/clang/test/CodeGenCXX/reference-cast.cpp
+++ b/clang/test/CodeGenCXX/reference-cast.cpp
@@ -3,7 +3,7 @@
// PR6024
extern int i;
-// CHECK: define i32* @_Z16lvalue_noop_castv() nounwind
+// CHECK: define i32* @_Z16lvalue_noop_castv() #0
const int &lvalue_noop_cast() {
if (i == 0)
// CHECK: store i32 17, i32*
@@ -192,3 +192,6 @@ namespace PR10650 {
// CHECK: define i64 @_ZN7PR106504testEPNS_6HelperE
// CHECK: store i64
}
+
+// CHECK: attributes #0 = { nounwind "target-features"={{.*}} }
+// CHECK: attributes #1 = { "target-features"={{.*}} }
OpenPOWER on IntegriCloud