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/no-exceptions.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/no-exceptions.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/no-exceptions.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/no-exceptions.cpp b/clang/test/CodeGenCXX/no-exceptions.cpp index da672c43f8d..4264953b007 100644 --- a/clang/test/CodeGenCXX/no-exceptions.cpp +++ b/clang/test/CodeGenCXX/no-exceptions.cpp @@ -2,7 +2,7 @@ void g(); -// CHECK: define void @_Z1fv() nounwind +// CHECK: define void @_Z1fv() #0 void f() throw (int) { // CHECK-NOT: invoke void @_Z1gv @@ -10,3 +10,6 @@ void f() throw (int) { // CHECK: call void @_Z1gv() // CHECK: ret void } + +// CHECK: attributes #0 = { nounwind "target-features"={{.*}} } +// CHECK: attributes #1 = { "target-features"={{.*}} } |