shithub: mc

ref: 60bc966a9154e134e143c7cfeb001a93761e2d5e
dir: /test/tuple.myr/

View raw version
use std
/* checks that we can create tuples and destructure them. exits with 42. */
const main = {
	var v
	var x
	var a
	var b

	x = 15
	v = (x, x + 12)
	(a, b) = v
	std.exit(a + b)
}