2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / init8.C
blob0b4b2945cd83c53216b5642091eba37216375a81
1 // { dg-do assemble  }
3 // submitted by David C Binderman <dcb@pncl.co.uk>
5 // According to [dcl.init]/9, this should be ill-formed
7 void
8 f()
10   const int var [ 10 ]; // { dg-error "" } missing initializer