PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gnat.dg / opt22.adb
blob6ea2440e97017984101b825bf08f29fe1a6ea594
1 -- { dg-do run }
2 -- { dg-options "-O" }
4 with Opt22_Pkg; use Opt22_Pkg;
6 procedure Opt22 is
8 procedure Go (S : String) is
9 begin
10 begin
11 Fail;
12 exception
13 when Constraint_Error => Put ("the " & S);
14 end;
15 Put ("the " & S);
16 end;
18 begin
19 Go ("message");
20 end;