summaryrefslogtreecommitdiffstats
path: root/test/CXX/special/class.copy/p23-cxx11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/special/class.copy/p23-cxx11.cpp')
-rw-r--r--test/CXX/special/class.copy/p23-cxx11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/special/class.copy/p23-cxx11.cpp b/test/CXX/special/class.copy/p23-cxx11.cpp
index 7c04a82..90945c5 100644
--- a/test/CXX/special/class.copy/p23-cxx11.cpp
+++ b/test/CXX/special/class.copy/p23-cxx11.cpp
@@ -143,6 +143,6 @@ namespace PR13381 {
};
void g() {
T t;
- t = T(); // expected-error{{implicitly-deleted copy assignment}}
+ t = T(); // expected-error{{object of type 'PR13381::T' cannot be assigned because its copy assignment operator is implicitly deleted}}
}
}
OpenPOWER on IntegriCloud