shithub: mc

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