re PR c/14963 (Unknown types cause ICE in function declarations)
authorAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 27 Jun 2004 20:58:34 +0000 (13:58 -0700)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 27 Jun 2004 20:58:34 +0000 (13:58 -0700)
        2004-06-27  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/14963
        * gcc.dg/pr14963.c: New test.

From-SVN: r83747

gcc/testsuite/gcc.dg/pr14963.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.dg/pr14963.c b/gcc/testsuite/gcc.dg/pr14963.c
new file mode 100644 (file)
index 0000000..2f58ca5
--- /dev/null
@@ -0,0 +1,3 @@
+X Y(Z); /* { dg-error "" "error before" } */
+/* { dg-warning "" "parameter names" { target *-*-* } 1 } */
+/* { dg-warning "" "data definition" { target *-*-* } 1 } */