view gcc/testsuite/gnat.dg/overriding_ops_p.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 overriding_ops_p is
   subtype Name_Type is String (1 .. 30); 
   type Device is synchronized interface;
   --  Base type of devices 
   procedure Set_Name (Object : in out Device; Name : Name_Type)
     is abstract;
   --  Set the name of the Device
end overriding_ops_p;