blob: 2670f63d931be2cde6483956efc0d1613c2ce056 [file] [log] [blame]
// PR c++/35652
// { dg-options "-O" }
#include <string>
int test() {
// blank line padding, could also be code...
//
//
//
//
//
//
//
//
//
std::string s = "";
s += 'x' + "y"; // { dg-warning "bounds of constant string" }
}