blob: 0cab9620cd9cc0524a77bb643073f6324ad797cb [file] [log] [blame]
/* { dg-do compile } */
#define N 256
void
f (void)
{
int i;
int a[N];
#pragma omp metadirective \
when( device={kind(nohost)}: nothing ) \
when( device={arch("nvptx")}: nothing) \
default( parallel for)
for (i = 0; i < N; i++)
a[i] = i;
}