summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjCXX/message.mm
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjCXX/message.mm')
-rw-r--r--clang/test/SemaObjCXX/message.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjCXX/message.mm b/clang/test/SemaObjCXX/message.mm
index f92518ad48c..ab86d9437f0 100644
--- a/clang/test/SemaObjCXX/message.mm
+++ b/clang/test/SemaObjCXX/message.mm
@@ -90,5 +90,5 @@ struct MutableString : public String { };
void test_I5(I5 *i5, String s) {
[i5 method:"hello" other:s];
- [i5 method:s other:"world"]; // expected-error{{non-const lvalue reference to type 'String' cannot bind to a value of unrelated type 'char const [6]'}}
+ [i5 method:s other:"world"]; // expected-error{{non-const lvalue reference to type 'String' cannot bind to a value of unrelated type 'const char [6]'}}
}
OpenPOWER on IntegriCloud