Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / auto28.C
blob1ffd9b76255a1641e376bb04f2f42d4d1c45f8b8
1 // PR c++/51404
2 // { dg-do compile { target c++11 } }
4 int i = auto().x;  // { dg-error "9:invalid use of" }