summaryrefslogtreecommitdiff
path: root/test/str.myr
blob: 70dc38b22ca0e565d78aac5353ce027a34a52306 (plain)
1
2
3
4
5
6
7
8
/* checks that string literals are compiled correctly.
exits with ascii 'f', ie, 102. */
const main = {
	var str

	str = "asdf"
	-> str[3]
}