summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/pragma-attribute-cxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Misc/pragma-attribute-cxx.cpp')
-rw-r--r--clang/test/Misc/pragma-attribute-cxx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Misc/pragma-attribute-cxx.cpp b/clang/test/Misc/pragma-attribute-cxx.cpp
index a8a3bdebc65..38b025e4769 100644
--- a/clang/test/Misc/pragma-attribute-cxx.cpp
+++ b/clang/test/Misc/pragma-attribute-cxx.cpp
@@ -87,14 +87,14 @@ void testLambdaMethod() {
int testCI1 = 1;
// CHECK-LABEL: VarDecl{{.*}} testCI1
// CHECK-NEXT: IntegerLiteral
-// CHECK-NEXT: RequireConstantInitAttr
+// CHECK-NEXT: ConstInitAttr
#pragma clang attribute pop
int testNoCI = 0;
// CHECK-LABEL: VarDecl{{.*}} testNoCI
// CHECK-NEXT: IntegerLiteral
-// CHECK-NOT: RequireConstantInitAttr
+// CHECK-NOT: ConstInitAttr
// Check support for CXX11 style attributes
#pragma clang attribute push ([[noreturn]], apply_to = function)
OpenPOWER on IntegriCloud