Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / opt79.adb
blobf58e25bc11dc879f75cf26a2609d5484e50899c1
1 -- { dg-do compile }
2 -- { dg-options "-O" }
4 package body Opt79 is
6 function F (I : Integer) return Arr is
7 A : Arr;
9 procedure Nested is
11 procedure Inner is
12 begin
13 A (1) := 0;
14 end;
16 begin
17 Inner;
18 end;
20 begin
21 Nested;
22 for J in A'Range loop
23 A (J) := I;
24 end loop;
25 return A;
26 end;
28 end Opt79;