* gcc.dg/noncompile/init-3.c: New test.

From-SVN: r36991
This commit is contained in:
Jakub Jelinek 2000-10-21 08:35:47 +02:00 committed by Jakub Jelinek
parent e1d565ab93
commit 42a55121ee
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-10-20 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/noncompile/init-3.c: New test.
2000-10-20 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-array-1.c: New test.

View File

@ -0,0 +1,4 @@
void die(void)
{
char foo[BAR] = "1234"; /* { dg-error "undeclared|function|incomplete type" } */
}