view gcc/testsuite/gnat.dg/slice6.adb @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

-- { dg-do compile }
-- { dg-options "-gnatws" }

with Slice6_Pkg; use Slice6_Pkg;

procedure Slice6 is

  procedure Send (V_LENGTH : SHORT_INTEGER) is

    V : Integer;

    V_BLOCK : T_BLOCK (1 .. 4096);
    for V_BLOCK use at V'Address;

    V_MSG : T_MSG ;

  begin
    V_MSG := (V_LENGTH, 1, V_BLOCK (1 .. V_LENGTH));
  end;

begin
  null;
end;