summaryrefslogtreecommitdiff
path: root/test/arraypack.myr
blob: 386679150aca893a21d36f74622b43ef20a8aa59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std

/* test for accidentally packed values */
const a = [
	(1, "foo"),
	(2, "bar"),
	(3, "baz"),
]

const main = {
	for x : a[:]
		std.put("{}", x)
	;;
	std.put("\n")
}