From: Andrew Pinski Date: Sun, 27 Jun 2004 20:58:34 +0000 (-0700) Subject: re PR c/14963 (Unknown types cause ICE in function declarations) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fadabebde64bcfc5b976d397d9186230fedb29db;p=gcc.git re PR c/14963 (Unknown types cause ICE in function declarations) 2004-06-27 Andrew Pinski PR c/14963 * gcc.dg/pr14963.c: New test. From-SVN: r83747 --- diff --git a/gcc/testsuite/gcc.dg/pr14963.c b/gcc/testsuite/gcc.dg/pr14963.c new file mode 100644 index 00000000000..2f58ca5c2cf --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr14963.c @@ -0,0 +1,3 @@ +X Y(Z); /* { dg-error "" "error before" } */ +/* { dg-warning "" "parameter names" { target *-*-* } 1 } */ +/* { dg-warning "" "data definition" { target *-*-* } 1 } */