Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git] / gcc / testsuite / g++.dg / ext / vla16.C
blobfa51feed8f31b6f73c41004397130453d5a299bb
1 // PR c++/72766
2 // { dg-options "-Wno-vla" }
4 long fn1() {
5   const int a = fn1();
6   int b[a];
7   int c = *(&b[0] + sizeof(0));
9   return 0;