PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wwrite-strings-7.C
blob13a8291aedc7e462da180f7419f62ba97b8563b1
1 // PR c++/79791
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wno-write-strings" }
5 char *s = "foo";