summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/gomp/appendix-a/a.6.2.f90
blob: e1388089962cc03faaf82558ff5070e0ff2bdc76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do compile }

        SUBROUTINE WORK(I, J)
        INTEGER I,J
        END SUBROUTINE WORK

        SUBROUTINE A6_WRONG
        INTEGER I, J
        DO 100 I = 1,10
!$OMP DO
        DO 100 J = 1,10
        CALL WORK(I,J)
        100      CONTINUE
!$OMP ENDDO	! { dg-error "Unexpected ..OMP END DO statement" }
        END SUBROUTINE A6_WRONG