re PR c/5503 (GCC ignores prototype)
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 14 Feb 2002 10:22:53 +0000 (11:22 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 14 Feb 2002 10:22:53 +0000 (11:22 +0100)
commitd76e68001b65e588d263a3984dc12b5263b60879
treeb659e85985df5f8c2a674b887b2ddcfba64b5a8d
parent2a5e0aeacdd62807638a7223ae22b0e25ba13c3b
re PR c/5503 (GCC ignores prototype)

PR c/5503:
* c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
use arguments from newtype.

* gcc.dg/noncompile/20020213-1.c: New test.

From-SVN: r49763
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/20020213-1.c [new file with mode: 0644]