2010-04-20 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gnat.dg / slice6.adb
blob8d96bbf8cf3de0f937111596edde0df4659a6bd0
1 -- { dg-do compile }
2 -- { dg-options "-gnatws" }
4 with Slice6_Pkg; use Slice6_Pkg;
6 procedure Slice6 is
8 procedure Send (V_LENGTH : SHORT_INTEGER) is
10 V : Integer;
12 V_BLOCK : T_BLOCK (1 .. 4096);
13 for V_BLOCK use at V'Address;
15 V_MSG : T_MSG ;
17 begin
18 V_MSG := (V_LENGTH, 1, V_BLOCK (1 .. V_LENGTH));
19 end;
21 begin
22 null;
23 end;