gcc/cp
[official-gcc.git] / gcc / testsuite / gnat.dg / aggr12.adb
blob8a18291f7911ec2a28d4081af5670669a129cbbc
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" } }
20 -- { dg-final { cleanup-tree-dump "original" } }