OSDN Git Service

2002-02-12 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Feb 2002 09:02:04 +0000 (09:02 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Feb 2002 09:02:04 +0000 (09:02 +0000)
    Neil Booth  <neil.booth@bnpparibas.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49705 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/gcc.dg/decl-1.c

index e66b853..23e490b 100644 (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.  */