aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/default-destructor-synthesis.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
commitf7a9da053f5bd6c18450c1796d953b42c3b7ad3a (patch)
tree3a4accecdb98419478035c3bf5be57df768e0625 /test/CodeGenCXX/default-destructor-synthesis.cpp
parent5251abea41b446c26e3239c8dd6c7edea6fc335d (diff)
Modify the tests to use attribute group references instead of listing the
function attributes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/default-destructor-synthesis.cpp')
-rw-r--r--test/CodeGenCXX/default-destructor-synthesis.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGenCXX/default-destructor-synthesis.cpp b/test/CodeGenCXX/default-destructor-synthesis.cpp
index fac5cc01f6..d5f57215df 100644
--- a/test/CodeGenCXX/default-destructor-synthesis.cpp
+++ b/test/CodeGenCXX/default-destructor-synthesis.cpp
@@ -24,7 +24,7 @@ struct M : Q, P {
Q q_arr[2][3];
};
-// CHECK: define i32 @_Z1fv() nounwind
+// CHECK: define i32 @_Z1fv() #0
int f() {
{
count = 1;
@@ -34,3 +34,5 @@ int f() {
// CHECK: ret i32 1
return count;
}
+
+// CHECK: attributes #0 = { nounwind "target-features"={{.*}} }