late_overriding.adb
来自「用于进行gcc测试」· ADB 代码 · 共 16 行
ADB
16 行
-- { 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; -- Testbegin null; end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?