discr8.adb

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

ADB
39 行
字号
-- { dg-do compile }-- { dg-options "-gnatws" }package body Discr8 is  procedure Make (C : out Local_T) is    Tmp : Local_T (Tag_One);  begin    C := Tmp;  end;  package Iteration is    type Message_T is      record        S : Local_T;      end record;    type Iterator_T is      record        S : Local_T;      end record;    type Access_Iterator_T is access Iterator_T;  end Iteration;  package body Iteration is    procedure Construct (Iterator : in out Access_Iterator_T;                         Message  : Message_T) is    begin      Iterator.S := Message.S;    end;  end Iteration;end Discr8;

⌨️ 快捷键说明

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