aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/6-ownership/block_value_u.zc
blob: 9cfd5df37c68acf9cb871823d28ef9f56dc7fd54 (plain) (blame)
1
2
3
4
5
6
// expect: 4/
// 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[0] = 4; u*p; p }; pn(q[0]); return 0; }
// zc0: skip