summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/aggr11_pkg.ads
blob: 37008605a30e0a2185a65690c740e22886ba91b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package Aggr11_Pkg is

   type Error_Type is (No_Error, Error);

   type Rec (Kind : Error_Type := No_Error) is record
     case Kind is
       when Error => null;
       when others => B : Boolean;
     end case;
   end record;

   type Arr is array (1..6) of Rec;

end Aggr11_Pkg;