summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/aggr12.adb
blob: fabba64f267061be6d8b0568bcdce2f51a258777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- { dg-do compile }
-- { dg-options "-fdump-tree-original" }

package body Aggr12 is

  procedure Print (Data : String) is
  begin
    null;
  end;

  procedure Test is
  begin
    Print (Hair_Color_Type'Image (A.I1));
    Print (Hair_Color_Type'Image (A.I2));
  end;

end Aggr12;

-- { dg-final { scan-tree-dump-not "{.i1=0, .i2=2}" "original" } }