From 774a18762d79d4dee0bbb251871037f416cf208b Mon Sep 17 00:00:00 2001 From: bkoz Date: Tue, 12 Feb 2002 09:02:04 +0000 Subject: 2002-02-12 Benjamin Kosnik Neil Booth * 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/testsuite') diff --git a/gcc/testsuite/gcc.dg/decl-1.c b/gcc/testsuite/gcc.dg/decl-1.c index e66b85376da..23e490b15c5 100644 --- a/gcc/testsuite/gcc.dg/decl-1.c +++ b/gcc/testsuite/gcc.dg/decl-1.c @@ -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. */ -- cgit v1.2.1