summaryrefslogtreecommitdiff
path: root/test/declmismatch.myr
blob: 595c0be0bba861db584e635710c0dd2e09c340db (plain)
1
2
3
4
5
6
7
8
9
10
/*
should fail to compile with a type error.
char is incompatible with int.
*/
const main = {
	var a : int
	var b : char

	a = b
}