diff options
author | Martin Uecker <uecker@tugraz.at> | 2024-06-27 21:47:56 +0200 |
---|---|---|
committer | Martin Uecker <uecker@gcc.gnu.org> | 2024-06-27 21:55:24 +0200 |
commit | da7976a015a4388b8ed843412c3c1c840451cf0f (patch) | |
tree | 6e4d16d3a5e89285aa74131a90305c4c469dd6ce /gcc/jit/jit-playback.h | |
parent | 1dc143181550573c9c902fb7a3b495e9b409d0b0 (diff) | |
download | gcc-da7976a015a4388b8ed843412c3c1c840451cf0f.zip gcc-da7976a015a4388b8ed843412c3c1c840451cf0f.tar.gz gcc-da7976a015a4388b8ed843412c3c1c840451cf0f.tar.bz2 |
c: Error message for incorrect use of static in array declarations.
Add an explicit error messages when c99's static is
used without a size expression in an array declarator.
gcc/c:
* c-parser.cc (c_parser_direct_declarator_inner): Add
error message.
gcc/testsuite:
* gcc.dg/c99-arraydecl-4.c: New test.
Diffstat (limited to 'gcc/jit/jit-playback.h')
0 files changed, 0 insertions, 0 deletions