PR target/84336
[official-gcc.git] / gcc / testsuite / gnat.dg / aggr19.adb
bloba88cc1fb51e0ee936e6929265718969deafd0d99
1 -- { dg-do run }
3 with Aggr19_Pkg; use Aggr19_Pkg;
5 procedure Aggr19 is
6 C : Rec5
7 := (Ent => (Kind => Two, Node => (L => (D => True, Pos => 1 )), I => 0));
8 A : Rec5 := C;
9 begin
10 Proc (A);
11 if A /= C then
12 raise Program_Error;
13 end if;
14 end;