PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gnat.dg / renaming12.ads
blob9c3ad7cb818ea02fc29eb8bbe7ee24f3c17eb93c
1 package Renaming12 is
3 type Index_Type is range 0 .. 40;
5 type Rec1 is record
6 B : Boolean;
7 end record;
9 type Arr is array (Index_Type range <>) of Rec1;
11 type Rec2 (Count : Index_Type := 0) is record
12 A : Arr (1 .. Count);
13 end record;
15 package Ops is
17 function "=" (L : Rec2; R : Rec2) return Boolean renames Renaming12."=";
19 end Ops;
21 procedure Dummy;
23 end Renaming12;