diff options
author | Steve Baird <baird@adacore.com> | 2022-11-29 14:32:07 -0800 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-12-01 14:53:54 +0100 |
commit | 82cf82c4610dbf2a1021841fea3700a477246b79 (patch) | |
tree | 7a37b76177e7f903090ac0d48f25c071d928bd98 /gcc/gcc.cc | |
parent | f82d10a5485965788dad8258e8946c34d90953a0 (diff) | |
download | gcc-82cf82c4610dbf2a1021841fea3700a477246b79.zip gcc-82cf82c4610dbf2a1021841fea3700a477246b79.tar.gz gcc-82cf82c4610dbf2a1021841fea3700a477246b79.tar.bz2 |
ada: Enforce Aggregate aspect legality rule
Ada 2022 requires that an Aggregate aspect specification shall specify a
a name for at least one of Add_Named, Add_Unnamed, or Assign_Indexed.
Enforce this rule.
gcc/ada/
* sem_ch13.adb
(Validate_Aspect_Aggregate): Reject illegal case where none of
Add_Named, Add_Unnamed, and Assign_Indexed are specified.
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions