blob: 896d864d404de4765ed610312c8ecc3a388ca36c (
plain) (
blame)
1
2
3
4
5
6
7
8
|
// i starts negative. i < len is true for the first pass, and the index is still illegal.
fn main() {
fixed []int f = new(fixed []int, 4);
int n = len(f), i;
for (i = -1; i < n; i++) f[i] = 1;
free(d*f);
return 0;
}
|