Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / opt80.adb
blob39c6cef0cd728d2536a10c414e7d7913c3e00aa4
1 -- { dg-do run }
2 -- { dg-options "-O2" }
4 with Ada.Text_IO; use Ada.Text_IO;
6 procedure Opt80 is
7 Item : Integer;
8 begin
9 Item := Integer'Value ("zzz");
10 Put_Line (Boolean'Image (Item'Valid));
11 raise Program_Error;
12 exception
13 when Constraint_Error =>
14 null;
15 end;