1 | // RUN: %clang_cc1 -verify -fsyntax-only -fconst-strings %s |
---|---|
2 | |
3 | // PR4804 |
4 | char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'const char [4]' discards qualifiers}} |
5 |
1 | // RUN: %clang_cc1 -verify -fsyntax-only -fconst-strings %s |
---|---|
2 | |
3 | // PR4804 |
4 | char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'const char [4]' discards qualifiers}} |
5 |