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