shithub: mc

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