blob: 39c6cef0cd728d2536a10c414e7d7913c3e00aa4 [file] [log] [blame]
-- { dg-do run }
-- { dg-options "-O2" }
with Ada.Text_IO; use Ada.Text_IO;
procedure Opt80 is
Item : Integer;
begin
Item := Integer'Value ("zzz");
Put_Line (Boolean'Image (Item'Valid));
raise Program_Error;
exception
when Constraint_Error =>
null;
end;