OSDN Git Service

* g++.dg/inherit/thunk7.C: New test.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / init / array21.C
1 // PR c++/27722
2
3 void foo()
4 {
5   const int x[] = 0; // { dg-error "size" }
6   ++x;
7 }