c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / gnat.dg / lto26.adb
bloba27348b2e7fabfc99bc161fc54cfb5a48e69dda6
1 -- { dg-do run }
2 -- { dg-options "-O2 -flto" { target lto } }
4 with Ada.Streams; use Ada.Streams;
5 with Lto26_Pkg1; use Lto26_Pkg1;
7 procedure Lto26 is
8 R : Rec;
9 begin
10 for I in 1 .. 10 loop
11 Set (R, (7, 0, 84, Stream_Element (I), 0, 0, 0), 1);
12 end loop;
13 end;