shithub: mc

ref: c664c75f3317a331afa283e880b14935cf05d4a3
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
}