summaryrefslogtreecommitdiff
path: root/test/derefassign.myr
blob: 5b56ade2ac6c2d6e89c81dc5f6d63306ccc3c989 (plain)
1
2
3
4
5
6
7
8
9
/* should assign to v through pointer p, exiting with 123 */
const main = {
	var p
	var v

	p = &v
	*p = 123
	-> v
}