PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gnat.dg / aggr12.adb
blobfabba64f267061be6d8b0568bcdce2f51a258777
1 -- { dg-do compile }
2 -- { dg-options "-fdump-tree-original" }
4 package body Aggr12 is
6 procedure Print (Data : String) is
7 begin
8 null;
9 end;
11 procedure Test is
12 begin
13 Print (Hair_Color_Type'Image (A.I1));
14 Print (Hair_Color_Type'Image (A.I2));
15 end;
17 end Aggr12;
19 -- { dg-final { scan-tree-dump-not "{.i1=0, .i2=2}" "original" } }