shithub: mc

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