[M3commit] [modula3/cm3] b9c1b9: Add test p032, passing of array parameters.
noreply at github.com
Tue Nov 14 17:53:47 CET 2017
Author: Rodney Bates <rodney.m.bates at acm.org>
Date: 2017-11-14 (Tue, 14 Nov 2017)
Add test p032, passing of array parameters.
Test passing of array parameters, fixed and open, in all three modes.
For READONLY mode, this is subtle. According to Modula3, only
nondesignators passed by value in READONLY mode. (Anything that
is assignable is passed by reference, and anything not assignable
is statically illegal.) The only array nondesignators are constants
and function results, neither of which is aliasable, so they are
regarded as already being copies and passed by reference at the low
More information about the M3commit