RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gnat.dg / discr48_pkg.ads
blob646b4f11bd3eda9f05b913b4c5f41e9a4fce798c
1 with Ada.Finalization;
3 package Discr48_Pkg is
5 type XString is new Ada.Finalization.Controlled with record
6 B : Boolean;
7 end record;
9 Null_XString : constant XString := (Ada.Finalization.Controlled with B => False);
11 type XString_Array is array (Natural range <>) of XString;
13 type Rec (Count : Positive) is record
14 Seps : XString_Array (2 .. Count);
15 end record;
17 type Rec_Access is access all Rec;
19 end Discr48_Pkg;