]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Mixing of positional and named entries allowed in enum rep
authorJustin Squirek <squirek@adacore.com>
Sat, 27 Feb 2021 19:16:32 +0000 (14:16 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 16 Jun 2021 08:43:01 +0000 (04:43 -0400)
commite66167fb494aa8839a8ef3fc283adc447718d514
tree2a169583ef6612e64e8a4692afb5e48b379e9190
parentc5dc00ef38d2c3ac647726b0215888f75b0e4d9c
[Ada] Mixing of positional and named entries allowed in enum rep

gcc/ada/

* sem_ch13.adb (Analyze_Enumeration_Representation_Clause): Add
check for the mixing of entries.
gcc/ada/sem_ch13.adb