aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/1-source/lit_char_non_ascii_later.zc
blob: e447b2a78ca2f05daa962b8c8981068cd31625a2 (plain) (blame)
1
2
3
4
5
// expect error: bad character literal
// spec 1.4.2 (the literal is not in the first statement of the function)
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { pn(1); rt.put_n('é'); return 0; }