tconstref2.pp 139 B

123456789101112
  1. { %fail }
  2. program tConstRef2;
  3. procedure TestConstRef(constref AParam: integer);
  4. begin
  5. AParam := 5;
  6. end;
  7. begin
  8. TestConstRef(1);
  9. end.