diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-25 18:55:50 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-25 18:55:50 +0000 |
commit | 1d9b9611bc178377b246f471c651ffe80b631e0d (patch) | |
tree | 37e3ee9a7eeffd28c6d57a7ad6c934131c358b1b /libcpp | |
parent | 9c6183ddd1c8f33f9994bfc954c0ecc1e638b5cc (diff) | |
download | gcc-1d9b9611bc178377b246f471c651ffe80b631e0d.tar.gz |
PR c/39564
* c-decl.c (grokdeclarator): Diagnose declarations of functions
with variably modified return type and no storage class
specifiers, except for the case of nested functions. Distinguish
extern declarations of functions with variably modified return
types from those of objects with variably modified types.
testsuite:
* gcc.dg/vla-19.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146778 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions