shithub: mc

ref: 330b2e6a59402d3a290629f409d77c2692973f3c
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] : int))
}