shithub: mc

ref: 54da79816fab4a03e8f6022d6c9764d9099abd60
dir: /test/str.myr/

View raw version
use std
/* checks that string literals are compiled correctly.
exits with ascii 'f', ie, 102. */
const main = {
	var str

	str = "asdf"
	std.exit(str[3] castto(int))
}