shithub: mc

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