* gcc.dg/noncompile/init-3.c: New test.
authorJakub Jelinek <jakub@redhat.com>
Sat, 21 Oct 2000 06:35:47 +0000 (08:35 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 21 Oct 2000 06:35:47 +0000 (08:35 +0200)
From-SVN: r36991

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/init-3.c [new file with mode: 0644]

index ebaa50f34db2e89587f5fd5508f3b2a9f7d1e178..4c249814861afdcf58ebcfeceb2430715982a044 100644 (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.
diff --git a/gcc/testsuite/gcc.dg/noncompile/init-3.c b/gcc/testsuite/gcc.dg/noncompile/init-3.c
new file mode 100644 (file)
index 0000000..fe95435
--- /dev/null
@@ -0,0 +1,4 @@
+void die(void)
+{
+  char foo[BAR] = "1234"; /* { dg-error "undeclared|function|incomplete type" } */
+}