view gcc/testsuite/gnat.dg/aggr11_pkg.ads @ 140:4e440907fcbf

copy CbC goto flang in cfgexpand remove some CbC unnecessary code
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Nov 2018 00:24:45 +0900
parents 04ced10e8804
children
line wrap: on
line source

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;