shithub: mc

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