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