double_record_extension1.ads

来自「用于进行gcc测试」· ADS 代码 · 共 14 行

ADS
14
字号
-- { dg-do compile } package double_record_extension1 is   type T1(n: natural) is tagged record      s1: string (1..n);   end record;   type T2(j,k: natural) is new T1(j) with record      s2: string (1..k);   end record;   type T3 is new T2 (10, 10) with null record;end double_record_extension1;

⌨️ 快捷键说明

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