summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/specs/abstract_limited.ads
blob: adcd35249afc6e7eb981f87e7d7ef0cd4bc96a5a (plain)
1
2
3
4
5
6
-- { dg-do compile }

package abstract_limited is
   type I is limited interface;
   type T is abstract limited new I with null record;
end;