blob: babd01aa6f76f554449a31468a9eea8d6bc9d3c7 [file] [log] [blame]
/* PR c/100902 */
void
foo (int *ptr)
{
#pragma omp target map (ptr, ptr[:4])
#pragma omp parallel master
ptr[0] = 1;
}
void
bar (int *ptr)
{
#pragma omp target parallel map (ptr[:4], ptr)
#pragma omp master
ptr[0] = 1;
}