Debian Codegraph @

gcc/testsuite/gfortran.dg/gomp/nowait-1.f90

raw
1 subroutine foo
2
3 !$omp do
4 do i = 1, 2
5 end do
6 !$omp end do nowait foo ! { dg-error "Unexpected junk after NOWAIT clause" }
7 !$omp end do ! as previous line is ignored
8
9 !$omp scope
10 block; end block
11 !$omp end scope bar ! { dg-error "Unexpected junk at" }
12 !$omp end scope
13
14 !$omp scope
15 block; end block
16 !$omp end scope nowait nowait ! { dg-error "Unexpected junk after NOWAIT clause" }
17 !$omp end scope
18
19 end