Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaObjC / warn-write-strings.m
blobc9361f0818b7dbefe591454fb031eec8bc8f79c5
1 // RUN: %clang_cc1 -verify -fsyntax-only -fconst-strings %s
3 // PR4804
4 char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'const char[4]' discards qualifiers}}