]> andersk Git - splint.git/blame - test/tests2.2a/arrayparam.c
Renamed lclintMacros.nf splintMacros.nf
[splint.git] / test / tests2.2a / arrayparam.c
CommitLineData
885824d3 1int f1(int x[2][]) /* bad */
2{
3 return x[2][3];
4}
5
6int f2(int x[][2]) /* okay */
7{
8 return x[2][3];
9}
10
11int f3(int x[][]) /* bad */
12{
13 return x[2][3];
14}
15
16int f4(int x[][][2]) /* bad */
17{
18 return x[2][3][1];
19}
20
21int f5(int x[2][][2]) /* bad */
22{
23 return x[2][3][1];
24}
25
26int f6(int x[][2][2]) /* okay */
27{
28 return x[2][3][1];
29}
30
This page took 0.058621 seconds and 5 git commands to generate.