blob: 846294a21552d98c2322b9b0d49d1384d0b51cd0 (
plain) (
blame)
1
2
3
4
5
|
// expect: 3/0/
// spec 1.4.4: stored one per word, followed by a 0 word
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { char* s = "abc"; pn(rt.len_w(s)); pn(s[3]); return 0; }
|