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

	a = b
}