[Ada] Diagnose illegal overriding indicators in protected bodies
authorEd Schonberg <schonberg@adacore.com>
Mon, 23 Mar 2020 21:44:29 +0000 (17:44 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 12 Jun 2020 08:29:23 +0000 (04:29 -0400)
commit3ca9a460f02fc538d314682f456bf3519f311f97
tree78a59b4eb6b69fcb9cc3340d4de4b79ba2715345
parent019e90494bd07f71380547ad8c2c70826aaf88f9
[Ada] Diagnose illegal overriding indicators in protected bodies

2020-06-12  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* sem_ch6.adb (Check_Overriding_Indicatior): Reject an
overriding indicator on a subprogram declared within a protected
body.
gcc/ada/sem_ch6.adb