cbc/test/array2.cb

20 lines
212 B
Plaintext

import stdio;
int
main(int argc, char **argv)
{
int[1] a;
a[0] = 0;
f(a);
return 0;
}
void
f(int[] x)
{
int save = *x;
int i = 0;
x = &i;
printf("%d;%d;%d\n", save, x[0], *x);
}