Chandler Carruth | 50465d1 | 2011-04-23 06:30:43 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -verify -fsyntax-only -fconst-strings %s |
John McCall | 4b7a834 | 2010-03-15 10:54:44 +0000 | [diff] [blame] | 2 | |
3 | // PR4804 | ||||
Chris Lattner | 58f9e13 | 2010-09-05 00:04:01 +0000 | [diff] [blame] | 4 | char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'const char [4]' discards qualifiers}} |