summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/optnone-def-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/optnone-def-decl.cpp')
-rw-r--r--test/CodeGenCXX/optnone-def-decl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGenCXX/optnone-def-decl.cpp b/test/CodeGenCXX/optnone-def-decl.cpp
index ab6eb3f..cb3a677 100644
--- a/test/CodeGenCXX/optnone-def-decl.cpp
+++ b/test/CodeGenCXX/optnone-def-decl.cpp
@@ -90,5 +90,6 @@ int user_of_forceinline_optnone_function() {
// CHECK: @_Z28forceinline_optnone_functionii({{.*}}) [[OPTNONE]]
// CHECK: attributes [[OPTNONE]] = { noinline nounwind optnone {{.*}} }
-// CHECK: attributes [[NORMAL]] = { nounwind {{.*}} }
-
+// CHECK: attributes [[NORMAL]] =
+// CHECK-SAME-NOT: noinline
+// CHECK-SAME-NOT: optnone
OpenPOWER on IntegriCloud