summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/specs/preelab.ads
blob: 4336c754f14521bb5db57dd21f7d69921faded27 (plain)
1
2
3
4
5
6
7
8
9
-- { dg-do compile }

with Ada.Finalization;
package preelab is
   type T is limited private;
   pragma Preelaborable_Initialization (T);
private    
   type T is new Ada.Finalization.Limited_Controlled with null record;
end preelab;