aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/thunks.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/thunks.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/thunks.cpp')
-rw-r--r--test/CodeGenCXX/thunks.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/CodeGenCXX/thunks.cpp b/test/CodeGenCXX/thunks.cpp
index 7060708743..6e58830c6a 100644
--- a/test/CodeGenCXX/thunks.cpp
+++ b/test/CodeGenCXX/thunks.cpp
@@ -339,7 +339,7 @@ namespace Test14 {
};
void C::f() {
}
- // CHECK: define void @_ZThn8_N6Test141C1fEv({{.*}}) unnamed_addr #0
+ // CHECK: define void @_ZThn8_N6Test141C1fEv({{.*}}) unnamed_addr [[NUW:#[0-9]+]]
}
/**** The following has to go at the end of the file ****/
@@ -348,7 +348,4 @@ namespace Test14 {
// CHECK: define linkonce_odr void @_ZTv0_n24_N5Test51B1fEv
// CHECK: define internal void @_ZThn8_N6Test4B12_GLOBAL__N_11C1fEv(
-// CHECK: attributes #0 = { nounwind uwtable "target-features"={{.*}} }
-// CHECK: attributes #1 = { inlinehint nounwind uwtable "target-features"={{.*}} }
-// CHECK: attributes #2 = { "target-features"={{.*}} }
-// CHECK: attributes #3 = { nounwind "target-features"={{.*}} }
+// CHECK: attributes [[NUW]] = { nounwind uwtable{{.*}} }