Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/late_overriding.adb @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
-- { dg-do compile } procedure late_overriding is package Pkg is type I is interface; procedure Meth (O : in I) is abstract; type Root is abstract tagged null record; type DT1 is abstract new Root and I with null record; end Pkg; use Pkg; type DT2 is new DT1 with null record; procedure Meth (X : DT2) is begin null; end; -- Test begin null; end;