2 -- { dg-options "-gnatwa" }
10 Str
: String (1 .. 3);
18 procedure Consume_Data
(Item
: out T
) is
20 Item
:= (Value
=> (Str
=> "Bar"));
26 Baz
:= (Value
=> (Str
=> "Foo"));
28 Ada
.Text_IO
.Put_Line
(Baz
.Value
.Str
);
32 Ada
.Text_IO
.Put_Line
(Baz
.Value
.Str
);