https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66608
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
Target Milestone|--- |15.0
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
This is now rejected with:
test2.adb:4:12: error: illegal context for aggregate
test2.ads:7:03: error: instantiation error at test1.ads:7
test2.ads:7:03: error: no declaration in visible part for incomplete type "T"
defined at test1.ads:7, instance at line 7