shithub: mc

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