Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / noreturn4.adb
blob7225f6cb4f2582e9da9a450ece0db5ba5ead0a53
1 -- { dg-do compile }
3 with Noreturn4_Pkg; use Noreturn4_Pkg;
5 package body Noreturn4 is
7 procedure P1 (Msg : String) is
8 begin
9 P1 (Msg, 0);
10 end;
11 procedure P1 (Msg : String; Val : Integer) is
12 begin
13 Fatal_Error (Value (It));
14 end;
16 procedure Fatal_Error (X : Integer) is
17 begin
18 raise PRogram_Error;
19 end;
21 end Noreturn4;