summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/specs/interface5.ads
blob: 842b5e3fe60cb767a6cf16a5a71616af19655251 (plain)
1
2
3
4
5
6
7
8
9
--  { dg-do compile }
--  { dg-options "-gnatc" }

package interface5 is
   type Lim_Iface is limited interface;
   protected type Prot_Typ is new Lim_Iface with
   private
   end Prot_Typ;
end interface5;