(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
auto28.C
// PR c++/51404
// { dg-do compile { target c++11 } }

int i = auto().x;  // { dg-error "9:invalid use of" }