blob: e9df92405330f87562c07557e47473b370005406 (
plain) (
blame)
1
2
3
4
5
|
// expect error: bad character literal
// spec 1.4.2 (a local initializer as the first statement)
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { int a = 'ab'; pn(5); return 0; }
|