diff options
author | Joseph Myers <joseph@codesourcery.com> | 2006-08-25 21:11:46 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2006-08-25 21:11:46 +0000 |
commit | 1fc67759e0b2ae98b0881dd85318c853e00dc63b (patch) | |
tree | c5d660b0cc2b1511757821e913c937802626245b /gcc/testsuite/gcc.c-torture | |
parent | 9aee60a3b2447a9f55b2f82aeac79b73701bb8d4 (diff) |
PR c/28299
* c-decl.c (start_function): Don't try to process prototype
information from old declaration that isn't a function.
testsuite:
* gcc.dg/funcdef-var-1.c, gcc.dg/funcdef-var-2.c: New tests.
* gcc.dg/pr20368-1.c, gcc.dg/pr20368-2.c, gcc.dg/pr20368-3.c:
Expect extra diagnostics.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@116435 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
0 files changed, 0 insertions, 0 deletions