re PR ada/17985 (GNAT accepts extension aggregate where expexted type is not extension)
gcc/ada/ PR ada/17985 * sem_aggr.adb (Valid_Ancestor_Type): A type is not an ancestor of itself. gcc/testsuite/ PR ada/17985 * gnat.dg/ancestor_type.ads, gnat.dg/ancestor_type.adb: New test. From-SVN: r134244
Showing
gcc/testsuite/gnat.dg/ancestor_type.adb
0 → 100644
gcc/testsuite/gnat.dg/ancestor_type.ads
0 → 100644
Please
register
or
sign in
to comment