view gcc/testsuite/gnat.dg/aggr10_pkg.ads @ 144:8f4e72ab4e11

fix segmentation fault caused by nothing next cur_op to end
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 21:23:56 +0900
parents 04ced10e8804
children
line wrap: on
line source

package Aggr10_Pkg is

   type Name_Id is range 300_000_000 .. 399_999_999;
   type Int is range -2 ** 31 .. +2 ** 31 - 1;
   type Source_Id is range 5_000_000 .. 5_999_999;

   type Name_Location is record
      Name     : Name_Id;
      Location : Int;
      Source   : Source_Id;
      Except   : Boolean;
      Found    : Boolean := False;
   end record;

   function Get return Name_Location;
   procedure Set (Name_Loc : Name_Location);

end Aggr10_Pkg;