uierror.pas 338 B

12345678910
  1. program uierror;
  2. (* Dedicated fixture for tests/uitest.py: needs a *syntax* error that is
  3. independent of which library features the compiler happens to support,
  4. so the expected error number and position stay stable as the compiler
  5. grows. The missing operand after '+' is the error. *)
  6. var
  7. x : integer;
  8. begin
  9. x := 1 + ;
  10. end.