summaryrefslogtreecommitdiff
path: root/test/usedef.myr
blob: b2a54a122a00c23086ac7d63dfd36fa31fc41aea (plain)
1
2
3
4
5
6
7
8
9
10
use std

/*
should fail to compile because 'a' is used
before it is defined.
*/
const main = {
	var a : int
	std.exit(a)
}