PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gnat.dg / discr53.ads
blob3fa9f0f4845c0c77b0c3871539d631bcdbd1c272
1 with Discr53_Pkg;
3 package Discr53 is
5 type Rec (D : Boolean := False) is record
6 case D is
7 when True => S : String (1 .. Discr53_Pkg.Max);
8 when False => null;
9 end case;
10 end record;
12 function F return Rec;
14 procedure Proc;
16 end Discr53;