elab1.ads
来自「用于进行gcc测试」· ADS 代码 · 共 24 行
ADS
24 行
package elab1 is -- the forward declaration is the trigger type Stream; type Stream_Ptr is access Stream; type Stream is array (Positive range <>) of Character; function Get_Size (S : Stream_Ptr) return Natural; type Rec (Size : Natural) is record B : Boolean; end record; My_Desc : constant Stream_Ptr := new Stream'(1 => ' '); My_Size : constant Natural := Get_Size (My_Desc); subtype My_Rec is Rec (My_Size);end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?