chiark / gitweb /
Import upstream sources.
[cparse] / tests / fail-array-subscripting-3.c
1 /* array subscripts must be one pointer, one integer */
2
3 struct foo {
4   int f;
5 };
6
7 int fn(struct foo x, int y) {
8   return x[y];
9 }