aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/auto28.C
blob: 441d8843a6ecd63679f50391a8aacf5ba4511ecc (plain)
1
2
3
4
// PR c++/51404
// { dg-do compile { target c++11 } }

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