OSDN Git Service

PR c/17881
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Oct 2004 19:20:35 +0000 (19:20 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Oct 2004 19:20:35 +0000 (19:20 +0000)
commita207ca5e3585840c64774150e19c319b59954d14
treed764821ea6513c2ad0e0c105e575f0906f409bf6
parent1f40468982a2270250ba872574bcd00021ed86d2
PR c/17881
* c-decl.c (grokparms): Don't warn for parameters of incomplete
type in declarations that are not definitions except for the case
of parameters of void type.

testsuite:
* parm-incomplete-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88850 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/parm-incomplete-1.c [new file with mode: 0644]