decl-1.c: Add do-compile tag.

2002-02-12  Benjamin Kosnik  <bkoz@redhat.com>
	    Neil Booth  <neil.booth@bnpparibas.com>

	* gcc.dg/decl-1.c: Add do-compile tag.

From-SVN: r49705
This commit is contained in:
Benjamin Kosnik 2002-02-12 09:02:04 +00:00
parent e77acf81cc
commit aa3aae06f9
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@
In the declaration of proc, x must be parsed as a typedef name
(6.7.5.3 p11). */
/* { dg-do compile } */
typedef int x;
int proc(int (x)); /* x is a typedef, param to proc is a function. */
int proc2(int x); /* x is an identifier, param is an int. */