Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / controlled_record.ads
blob71a57372c96697b36c28abbdeae9b73863d112bb
1 with Ada.Finalization;
3 package Controlled_Record is
5 type Point_T is limited private;
6 procedure Assert_Invariants (PA : Point_T);
8 private
10 type Coords_T is array (1 .. 2) of Natural;
12 type Point_T is new Ada.Finalization.Controlled with record
13 Pos : Coords_T := (0, 0);
14 end record;
16 end Controlled_Record;