2 -- { dg-options "-gnatwa" }
6 function Id
(X
: Integer) return Integer is (2 * X
);
8 procedure TheProcedure1
(TheParameter
: in Integer)
13 X
:= Id
(TheParameter
);
19 procedure Junk
(It
: Integer) is -- { dg-warning "formal parameter \"It\" is not referenced" }
20 X
: Integer := Id
(34);
27 procedure TheProcedure
(TheParameter
: in Integer) -- { dg-warning "formal parameter \"TheParameter\" is not referenced" }