aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/no-exceptions.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-27 00:06:04 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-27 00:06:04 +0000
commit899245792776dd219a3c36eb19b42272e270bc0c (patch)
tree6ac05a34d42c4b09361726b0125cb335297ee3ee /test/CodeGenCXX/no-exceptions.cpp
parentdeb8f5d533b7bcd962976ecdbc1464fe754b6de0 (diff)
Reapply r176133 with testcase fixes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176145 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/no-exceptions.cpp')
-rw-r--r--test/CodeGenCXX/no-exceptions.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGenCXX/no-exceptions.cpp b/test/CodeGenCXX/no-exceptions.cpp
index 4264953b00..ecc5201138 100644
--- a/test/CodeGenCXX/no-exceptions.cpp
+++ b/test/CodeGenCXX/no-exceptions.cpp
@@ -2,7 +2,7 @@
void g();
-// CHECK: define void @_Z1fv() #0
+// CHECK: define void @_Z1fv() [[NUW:#[0-9]+]]
void f() throw (int) {
// CHECK-NOT: invoke void @_Z1gv
@@ -11,5 +11,4 @@ void f() throw (int) {
// CHECK: ret void
}
-// CHECK: attributes #0 = { nounwind "target-features"={{.*}} }
-// CHECK: attributes #1 = { "target-features"={{.*}} }
+// CHECK: attributes [[NUW]] = { nounwind }