shithub: mc

ref: 70ab782a15f19d4ea160304bb35f7cd1defa7d5d
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))
}