aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/child_recast.zc
blob: c9ccd622897609c5e217d9fcb8e288ca4a43d9ad (plain) (blame)
1
2
// expect: c: belongs to a container; recast the container instead
fn main() { let p = new(2), c = new(1); p[0] = c; d*c; return 0; }