/* { dg-do compile } */voidwrong4(intn){#pragma omp parallel default(shared){inti;#pragma omp forfor(i=0;i<n;i++){work(i,0);/* incorrect nesting of barrier region in a loop region */#pragma omp barrier /* { dg-warning "may not be closely nested" } */work(i,1);}}}