view gcc/testsuite/gnat.dg/opt12_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 Opt12_Pkg is

   type Static_Integer_Subtype is range -32_000 .. 32_000;

   function Equal (L, R: Static_Integer_Subtype) return Boolean;

   type My_Fixed is delta 0.1 range -5.0 .. 5.0;

   Fix_Half : My_Fixed := 0.5;

end Opt12_Pkg;