(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
gomp/
pr104968.c
       1  /* { dg-additional-options "-fdump-tree-gimple-lineno" }  */
       2  
       3  int
       4  main (void)
       5  {
       6    double a[10], a_h[10];
       7    int myId = -1;
       8  #pragma omp target map(tofrom:a)
       9  #pragma omp taskloop simd shared(a) lastprivate(myId) /* { dg-line here } */
      10      for(int i = 0 ; i < 10; i++) if (a[i] != a_h[i]) { }
      11  }
      12  
      13  /* { dg-final { scan-tree-dump-times "#pragma omp taskloop" 3 "gimple" } }  */
      14  /* { dg-final { scan-tree-dump-times "(?n)\\\[.*pr104968.c:[get-absolute-line '' here]:.*\\\] #pragma omp taskloop" 3 "gimple" } }  */