shithub: mc

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