c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / c-c++-common / gomp / depobj-2.c
blobd06910c420a6c1c2b0e5b718ba5e7b3f1a572aae
1 /* PR c++/98072 */
3 typedef struct __attribute__((__aligned__ (sizeof (void *)))) omp_depend_t {
4 char __omp_depend_t__[2 * sizeof (void *)];
5 } omp_depend_t;
7 void
8 foo (int *x, omp_depend_t *y, int z)
10 #pragma omp depobj (*y) depend (in: x[z])