Debian Codegraph @

gcc/testsuite/g++.dg/parse/crash47.C

raw
1 // PR c++/37531
2 // { dg-do compile }
3 // { dg-options "-std=gnu++98" }
4
5 void
6 foo ()
7 {
8 (int[i]) { 0 }; // { dg-error "was not declared in this scope" }
9 }