diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:22:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:22:19 +0000 |
commit | c33fc4c00453099f4ac180313a67d6eb0f91ce0a (patch) | |
tree | 3522c3ac6a80d9d32c581884791649d862af2c76 /clang/test/CodeGenCXX/default-destructor-synthesis.cpp | |
parent | 90bc19cd914c9870c1d1701b3a3e290b135c63b6 (diff) | |
download | bcm5719-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/default-destructor-synthesis.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/default-destructor-synthesis.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/default-destructor-synthesis.cpp b/clang/test/CodeGenCXX/default-destructor-synthesis.cpp index fac5cc01f6b..d5f57215df6 100644 --- a/clang/test/CodeGenCXX/default-destructor-synthesis.cpp +++ b/clang/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"={{.*}} } |