blob: d06910c420a6c1c2b0e5b718ba5e7b3f1a572aae (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* PR c++/98072 */
typedef struct __attribute__((__aligned__ (sizeof (void *)))) omp_depend_t {
char __omp_depend_t__[2 * sizeof (void *)];
} omp_depend_t;
void
foo (int *x, omp_depend_t *y, int z)
{
#pragma omp depobj (*y) depend (in: x[z])
}
|