summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/temp/temp.decls/temp.mem/p5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CXX/temp/temp.decls/temp.mem/p5.cpp')
-rw-r--r--clang/test/CXX/temp/temp.decls/temp.mem/p5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/temp/temp.decls/temp.mem/p5.cpp b/clang/test/CXX/temp/temp.decls/temp.mem/p5.cpp
index 7adc6f06da3..a188f05d535 100644
--- a/clang/test/CXX/temp/temp.decls/temp.mem/p5.cpp
+++ b/clang/test/CXX/temp/temp.decls/temp.mem/p5.cpp
@@ -63,7 +63,7 @@ struct X0 {
template<typename T> operator const T*() const {
T x = T();
- return x; // expected-error{{cannot initialize return object of type 'char const *' with an lvalue of type 'char'}}
+ return x; // expected-error{{cannot initialize return object of type 'const char *' with an lvalue of type 'char'}}
}
};
OpenPOWER on IntegriCloud