shithub: mc

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