aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gnat.dg/aggr11_pkg.ads
blob: 139c9efdac6da624e35b9eb3b1ecb563d4b5499d (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;