access_discr.adb

来自「用于进行gcc测试」· ADB 代码 · 共 23 行

ADB
23
字号
-- { dg-do compile }procedure access_discr is      type One;      type Iface is limited interface;   type Base  is tagged limited null record;      type Two_Alone (Parent : access One) is limited null record;   type Two_Iface (Parent : access One) is limited new Iface with null record;   type Two_Base (Parent : access One) is new Base with null record;      type One is limited record      TA : Two_Alone (One'Access);      TI : Two_Iface (One'Access); --  OFFENDING LINE      TB : Two_Base (One'Access);   end record;begin   null;end;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?