blob: 3466e4a058f076f2b8697fd38a0e52aafd7b3d1f (
plain) (
blame)
1
2
3
4
5
6
7
|
// expect: 0/
// spec 6.5.1
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
memdebug on;
fn main() { { int* p = rt.new(3); p[0] = 1; pn(p[0] - 1); } rt.memreport(); return 0; }
// zc0: skip
|