decl.c (create_array_type_for_decl): Add location_t parameter and use it.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / auto24.C
blob193f92e977a75f1dbad9beb58f682a5c7d4c52d0
1 // PR c++/48599
2 // { dg-do compile { target c++11 } }
4 int v[1];
5 auto (*p)[1] = &v;              // { dg-error "8:.p. declared as array of .auto" }