* g++.old-deja/g++.other/init8.C: New test. uninitialized
automatic array of const is ill-formed
From-SVN: r22999
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?
--- /dev/null
+// 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 *-*-*
+}