summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/mrtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/mrtd.c')
-rw-r--r--clang/test/CodeGen/mrtd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CodeGen/mrtd.c b/clang/test/CodeGen/mrtd.c
index 743a9d5944b..a40a59ac0fc 100644
--- a/clang/test/CodeGen/mrtd.c
+++ b/clang/test/CodeGen/mrtd.c
@@ -2,7 +2,7 @@
void baz(int arg);
-// CHECK: define x86_stdcallcc void @foo(i32 %arg) #0
+// CHECK: define x86_stdcallcc void @foo(i32 %arg) [[NUW:#[0-9]+]]
void foo(int arg) {
// CHECK: call x86_stdcallcc i32 bitcast (i32 (...)* @bar to i32 (i32)*)(
bar(arg);
@@ -14,5 +14,4 @@ void foo(int arg) {
// CHECK: declare x86_stdcallcc void @baz(i32)
-// CHECK: attributes #0 = { nounwind "target-features"={{.*}} }
-// CHECK: attributes #1 = { "target-features"={{.*}} }
+// CHECK: attributes [[NUW]] = { nounwind{{.*}} }
OpenPOWER on IntegriCloud