summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/Wwrite-strings-8.C
blob: df5f28356ee50ce483368085b307e309e679fc55 (plain)
1
2
3
4
5
// PR c++/79791
// { dg-do compile { target c++11 } }
// { dg-options "-Wpedantic -Wno-write-strings" }

char *s = "foo";