gap11_bare_proc_stmt.mod 251 B

1234567
  1. MODULE Gap11BareProcStmt;
  2. (* NOT standard Modula-2: a bare procedure *variable* as a statement (an
  3. implicit zero-argument call). Class: gm2-ext.
  4. Corpus: tinyproc2, tinyproc4.
  5. V3: invalid call. *)
  6. VAR p : PROC;
  7. BEGIN p END Gap11BareProcStmt.