blob: 52607b622848501781825fe821339297f645d145 [file] [log] [blame]
// PR c++/51270
// { dg-options "-O2" }
const int& f(long l)
{
const int& i = l;
return i; // { dg-warning "address of local variable" }
}