shithub: mc

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