summaryrefslogtreecommitdiffstats
path: root/test/CXX/special/class.copy/implicit-move.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/special/class.copy/implicit-move.cpp')
-rw-r--r--test/CXX/special/class.copy/implicit-move.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/special/class.copy/implicit-move.cpp b/test/CXX/special/class.copy/implicit-move.cpp
index 597e327..3337412 100644
--- a/test/CXX/special/class.copy/implicit-move.cpp
+++ b/test/CXX/special/class.copy/implicit-move.cpp
@@ -54,7 +54,7 @@ void test_basic_exclusion() {
static_assert(noexcept(HasMoveConstructor((HasMoveConstructor()))), "");
HasMoveConstructor hmc;
- hmc = HasMoveConstructor(); // expected-error {{selected implicitly-deleted copy assignment}}
+ hmc = HasMoveConstructor(); // expected-error {{object of type 'HasMoveConstructor' cannot be assigned because its copy assignment operator is implicitly deleted}}
(HasMoveAssignment(HasMoveAssignment())); // expected-error {{uses deleted function}}
HasMoveAssignment hma;
OpenPOWER on IntegriCloud