1 // PR c++/51404 2 // { dg-do compile { target c++11 } } 3 4 int i = auto().x; // { dg-error "9:invalid use of" } 5