aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/1-source/lit_str_hex_escape_is_plain_char.zc
blob: 2cf8e1723ff888e63dfeee27056a362ab2b43648 (plain) (blame)
1
2
3
4
5
// expect: 120/
// spec 1.4.2: a backslash before any other character is that character
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { pn("\x"[0]); return 0; }