Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / support / regression / qct / 0080-arrays.c
blob6d11cd3e320359f7f5f9f912b2c25771ec659f6b
2 int
3 foo(int x[100])
5 int y[100];
6 int *p;
8 y[0] = 2000;
10 if(x[0] != 1000)
12 return 1;
15 p = x;
17 if(p[0] != 1000)
19 return 2;
22 p = y;
24 if(p[0] != 2000)
26 return 3;
29 if(sizeof(x) != sizeof(void*))
31 return 4;
34 if(sizeof(y) <= sizeof(x))
36 return 5;
39 return 0;
42 int
43 main()
45 int x[100];
46 x[0] = 1000;
48 return foo(x);