shithub: mc

ref: e4832da74d8722e6313a64db829473f4f5a3b3e6
dir: /test/declmismatch.myr/

View raw version
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
}