summaryrefslogtreecommitdiff
path: root/test/CXX/drs/dr5xx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/drs/dr5xx.cpp')
-rw-r--r--test/CXX/drs/dr5xx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/drs/dr5xx.cpp b/test/CXX/drs/dr5xx.cpp
index 5122398b7ca3e..c20a873fc1c75 100644
--- a/test/CXX/drs/dr5xx.cpp
+++ b/test/CXX/drs/dr5xx.cpp
@@ -74,7 +74,7 @@ namespace dr512 { // dr512: yes
};
union U { A a; };
#if __cplusplus < 201103L
- // expected-error@-2 {{has a non-trivial constructor}}
+ // expected-error@-2 {{has a non-trivial default constructor}}
// expected-note@-6 {{no default constructor}}
// expected-note@-6 {{suppressed by user-declared constructor}}
#endif