bug0178.pp 339 B

123456789101112131415
  1. PROGRAM NoLabel; { this program compiles fine with TP but not with FP }
  2. LABEL
  3. N1,
  4. N2,
  5. FAIL, { this is a reserved word in constructors only! - FP fails here
  6. }
  7. More; { label not defined - FP fails, but a warning is enough for that
  8. }
  9. { since label referenced nowhere }
  10. BEGIN
  11. N1: Write;
  12. N2: Write;
  13. FAIL: Write;
  14. END.