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

pragma Restrictions (No_Entry_Queue);
package Restricted_Pkg is
   type Iface is limited interface;
   protected type PO is new Iface with
      procedure Dummy;
   end; 
end;