[Ada] Fix check for implicit allocation of dynamic objects
authorEtienne Servais <servais@adacore.com>
Tue, 4 Jan 2022 11:41:02 +0000 (12:41 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 11 Jan 2022 13:24:47 +0000 (13:24 +0000)
commitf5eb70c2276e94991b453ec07f50e00c5e7dbd36
treef47473c095d2efc64d14098773d448fe9172122b
parent303bd2a8428b75f2467578a933e729d5672789d1
[Ada] Fix check for implicit allocation of dynamic objects

gcc/ada/

* sem_ch3.adb (Check_Dynamic_Object): Swap check order.
gcc/ada/sem_ch3.adb