aboutsummaryrefslogtreecommitdiff
path: root/tests/langerrors/fixed_push.zc
blob: a19bcb41a5174400a624d63c856e227315884ccc (plain) (blame)
1
2
// expect: a fixed array can't grow or shrink
fn main() { fixed []int f = new(fixed []int, 3); push(f, 1); free(d*f); return 0; }