[Ada] Spurious error on private type in ghost expression function
authorEd Schonberg <schonberg@adacore.com>
Thu, 30 Apr 2020 19:19:16 +0000 (15:19 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 19 Jun 2020 08:17:21 +0000 (04:17 -0400)
commita6d7dfbbb2f1fe25e040a31f17c03d292b5b5b61
treeede33d8a381941cab334e8a6d76b54e004ff87d6
parent74d09f3ee936c7e08539beba6f5bb2547b4640b9
[Ada] Spurious error on private type in ghost expression function

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

gcc/ada/

* sem_ch6.adb (Analyze_Expression_Function): Do not indicate
that the function has a completion if it appears within a Ghost
generic package.
gcc/ada/sem_ch6.adb