summaryrefslogtreecommitdiffstats
path: root/test/Sema/warn-write-strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/warn-write-strings.c')
-rw-r--r--test/Sema/warn-write-strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/warn-write-strings.c b/test/Sema/warn-write-strings.c
index 938f0be..04af00c 100644
--- a/test/Sema/warn-write-strings.c
+++ b/test/Sema/warn-write-strings.c
@@ -1,4 +1,4 @@
// RUN: %clang_cc1 -verify -fsyntax-only -Wwrite-strings %s
// PR4804
-char* x = "foo"; // expected-warning {{initializing 'char const [4]' discards qualifiers, expected 'char *'}}
+char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'char const [4]' discards qualifiers}}
OpenPOWER on IntegriCloud