summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/gomp/pr43836.f90
blob: cf86523f52b782b63924310eb90b42755bd3e4fd (plain)
1
2
3
4
5
6
7
8
9
10
! PR fortran/43836
! { dg-do compile }
! { dg-options "-fopenmp -fexceptions -O2" }
subroutine foo
!$omp single
!$omp parallel
  call bar
!$omp end parallel
!$omp end single
end subroutine foo