mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-25 22:38:56 -04:00

type..." with "initializing <type> with an expression of type...", which reads better. Thanks to John for the improved wording. llvm-svn: 100873
5 lines
198 B
C
5 lines
198 B
C
// RUN: %clang_cc1 -verify -fsyntax-only -Wwrite-strings %s
|
|
|
|
// PR4804
|
|
char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'char const [4]' discards qualifiers}}
|