gap13_builtin_proc_name.mod 427 B

12345678910
  1. MODULE Gap13BuiltinProcName;
  2. (* V3 bug: `ORDL` is a predeclared identifier, not a reserved word, so
  3. `PROCEDURE ORDL ...` is legal Modula-2. V3 wrongly tokenises the
  4. builtins as keywords and rejects it. Class: v3-deviation (V3 is
  5. stricter than the standard).
  6. Corpus: fileio.def, fileio.mod.
  7. V3: ident expected. *)
  8. PROCEDURE ORDL(i : INTEGER) : CARDINAL;
  9. BEGIN RETURN 0 END ORDL;
  10. BEGIN END Gap13BuiltinProcName.