c-decl.c (xref_tag): Don't return previous tags of wrong type.
authorJoseph Myers <jsm28@cam.ac.uk>
Mon, 11 Jun 2001 11:50:29 +0000 (12:50 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 11 Jun 2001 11:50:29 +0000 (12:50 +0100)
commitf18b70f587310c161b81a159523cf13262b393c3
treef31c4c85770575b6701e3a1a5db7bbfed83e24dd
parent89cc6be35070f5aa20e0b6189daa6788726ea220
c-decl.c (xref_tag): Don't return previous tags of wrong type.

* c-decl.c (xref_tag): Don't return previous tags of wrong type.

testsuite:
* gcc.dg/c99-tag-1.c: Add more tests.

From-SVN: r43179
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c99-tag-1.c