Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / gnat.dg / finalized.adb
blob36400d53ecc2f7b480a40c436a827ce0f7b2a815
1 -- { dg-do compile }
3 with Ada.Finalization; use Ada.Finalization;
4 procedure finalized is
5 type Rec is new Controlled with null record;
6 Obj : access Rec := new Rec'(Controlled with null record);
7 begin
8 null;
9 end;