blob: a619d5a0b422cf4f91535bc74006a5d8a24d37a0 [file] [log] [blame]
// PR c++/63203
// { dg-options "-Winit-self" }
struct string { };
int main()
{
for (int ii = 0; ii < 1; ++ii)
{
const string& str = str; // { dg-warning "is initialized with itself" }
}
}