4 entry E
(V1
, V2
: Integer);
14 accept E
(V1
, V2
: Integer) do
18 T_Obj
.V1
:= V1
; -- { dg-error "invalid reference to private operation of some object of type \"T\"" }
19 T_Obj
.V2
:= V2
; -- { dg-error "invalid reference to private operation of some object of type \"T\"" }
20 T_Obj
.V3
:= V3
; -- { dg-error "invalid reference to private operation of some object of type \"T\"" }