raz / conform / run / LimitTypeArgs.raz

8 lines · 286 B · raw · history · last change fa4b6510

1(* 8 type arguments to a generic module.
2 The least an implementation must accept (report section 10, Limits). *)
3module LimitTypeArgs;
4import Out;
5import M := LimitMany(INT, INT, INT, INT, INT, INT, INT, INT);
6begin
7 M.put(5); Out.int(M.get()); Out.char('\n');
8end LimitTypeArgs.