2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu89" } */
4 /* { dg-require-effective-target alloca } */
7 reverse (void *x
, int y
, int z
)
9 struct { char w
[z
]; } *p
= x
, a
;
11 for (i
= y
- 1, j
= 0; j
< y
/ 2; i
--, j
++)
12 ({ a
= p
[i
]; p
[i
] = p
[j
]; p
[j
] = a
; });