2 // { dg-additional-options "-O -Wall" }
3 // { dg-skip-if "requires hosted libstdc++ for string" { ! hostedlib } }
7 std::string foo(std::string x)
9 // This used to get a bogus -Wstringop-overflow warning.
10 return std::string("1234567890123456") + x;