diff options
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"={{.*}} } |