projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e77acf8
)
decl-1.c: Add do-compile tag.
author
Benjamin Kosnik
<bkoz@gcc.gnu.org>
Tue, 12 Feb 2002 09:02:04 +0000
(09:02 +0000)
committer
Benjamin Kosnik
<bkoz@gcc.gnu.org>
Tue, 12 Feb 2002 09:02:04 +0000
(09:02 +0000)
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
gcc/testsuite/gcc.dg/decl-1.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.dg/decl-1.c
b/gcc/testsuite/gcc.dg/decl-1.c
index e66b85376da432c69f37ac95bbff8a199af261f5..23e490b15c504e8e0039ebbe6d3460be51d2d639 100644
(file)
--- 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. */