summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/slice6.adb
blob: 8d96bbf8cf3de0f937111596edde0df4659a6bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-- { 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;