aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/1-source/lit_str_word_per_cell.zc
blob: ab214c0372638f24b0b75044313c109d81591a5d (plain) (blame)
1
2
3
4
5
6
7
8
9
// expect: 65/66/0/3/
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() {
	char* s = "AB";
	pn(s[0]); pn(s[1]); pn(s[2]);
	pn(rt.len_w("xyz"));
	return 0;
}