tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gnat.dg / discr57.adb
blobcb5cecca92cdd8a75786972209889fcafecead21
1 -- { dg-do compile }
3 procedure Discr57 is
5 type T1(Scalar : Boolean) is abstract tagged null record;
7 subtype S1 is T1 (Scalar => False);
9 type T2(Lower_Bound : Natural) is new
10 S1 with null record;
12 Obj : constant T2 :=
13 (Lower_Bound => 123);
15 begin
16 null;
17 end Discr57;