view gcc/testsuite/gnat.dg/aggr12.adb @ 143:76e1cf5455ef

add cbc_gc test
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 19:24:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

-- { 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" } }