aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/auto24.C
blob: d370cc6f3db5d8df8d9261a45297041b3932c49b (plain)
1
2
3
4
5
// PR c++/48599
// { dg-do compile { target c++11 } }

int v[1];
auto (*p)[1] = &v;		// { dg-error "array of .auto" }