init8.C: New test.

* g++.old-deja/g++.other/init8.C: New test.  uninitialized
 	automatic array of const is ill-formed

From-SVN: r22999
This commit is contained in:
Alexandre Oliva 1998-10-11 22:52:49 +00:00 committed by Alexandre Oliva
parent 44e5b6c170
commit 4f0af2c1e8
2 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,8 @@
1998-10-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/init8.C: New test. uninitialized
automatic array of const is ill-formed
* g++.old-deja/g++.pt/ttp53.C: New test. incorrect substitution
of template parameter?

View File

@ -0,0 +1,11 @@
// Build don't link:
// submitted by David C Binderman <dcb@pncl.co.uk>
// According to [dcl.init]/9, this should be ill-formed
void
f()
{
const int var [ 10 ]; // ERROR - missing initializer - XFAIL *-*-*
}