tb0140.pp 384 B

123456789101112131415161718192021
  1. {%fail}
  2. {
  3. This program should fail compilation since array of const
  4. with cdecl modifier can only be used on last parameter of
  5. routine
  6. }
  7. procedure proc_const_smallarray_const_2(const arr : array of const; b: byte);cdecl;
  8. begin
  9. end;
  10. Begin
  11. end.
  12. {
  13. $Log$
  14. Revision 1.1 2002-11-09 21:57:57 carl
  15. + added testing for cdecl and array of const. (should not compile)
  16. }