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

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