diff options
Diffstat (limited to 'test/Sema/predef.c')
-rw-r--r-- | test/Sema/predef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/predef.c b/test/Sema/predef.c index 9c19946..08a4a2b 100644 --- a/test/Sema/predef.c +++ b/test/Sema/predef.c @@ -6,7 +6,7 @@ void abcdefghi12(void) { } char *X = __func__; // expected-warning {{predefined identifier is only valid}} \ - expected-warning {{initializing 'char const [1]' discards qualifiers, expected 'char *'}} + expected-warning {{initializing 'char *' with an expression of type 'char const [1]' discards qualifiers}} void a() { __func__[0] = 'a'; // expected-error {{variable is not assignable}} |