We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31d398d commit 9afd1b0Copy full SHA for 9afd1b0
clang/test/Sema/warn-write-strings.c
@@ -1,7 +1,7 @@
1
// RUN: %clang_cc1 -verify -fsyntax-only -Wwrite-strings %s
2
3
// PR4804
4
-char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'const char [4]' discards qualifiers}}
+char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'char const [4]' discards qualifiers}}
5
6
// PR7192
7
#include <stddef.h>
0 commit comments