summaryrefslogtreecommitdiff
path: root/test/usedef.myr
blob: 81c6434cd0bf59955401bb5240ef9e5f261ebc45 (plain)
1
2
3
4
5
6
7
8
/*
should fail to compile because 'a' is used
before it is defined.
*/
const main = {
	var a : int
	std.exit(a)
}