blob: 8cd8fe48f3cb85f0be0204c43be4fcb298d45f91 (
plain) (
blame)
1
2
3
4
5
6
|
// expect error: p: has to be u to be handed up as the block's value
// spec 6.8.4
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { int* q = { int* p = rt.new(1); p }; pn(q[0]); return 0; }
// zc0: skip
|