tb0145.pp 212 B

1234567891011121314151617
  1. { %FAIL }
  2. { This should fail compilation because open parameters are not
  3. allowed with cdecl'ed routines.
  4. }
  5. procedure TestOpen(var s: array of byte); cdecl;
  6. var
  7. b: byte;
  8. begin
  9. b:=high(s);
  10. end;
  11. Begin
  12. end.