Handle corner case for abstract decls
commit4b46e0ec630531fa85d742706272525bebea49d2
authorMichael Matz <matz@suse.de>
Tue, 12 Mar 2019 16:27:15 +0000 (12 17:27 +0100)
committerMichael Matz <matz@suse.de>
Tue, 12 Mar 2019 16:27:15 +0000 (12 17:27 +0100)
tree6e45046ef1b58c7f7282717d858546ca6f305ce5
parentef0397cf3d73fa5d5732690eaf4be1249cf02c8f
Handle corner case for abstract decls

sometimes abstract decls in parameter lists left the returned name
uninitialized potentially leading to segfaults, like in

  int f(int ()) {
    return 0;
  }

Deal with this.
tccgen.c
tests/tests2/60_errors_and_warnings.c
tests/tests2/60_errors_and_warnings.expect