blob: 6c29356d03e90228ca050ac5a21520f130161c2e [file] [log] [blame]
! PR fortran/47331
! { dg-do compile }
! { dg-options "-fopenmp" }
subroutine foo
!$omp parallel
call bar ()
!$omp end parallel
end subroutine foo
subroutine bar
integer :: k
do k=1,5
call baz (k)
end do
end subroutine bar
subroutine baz (k)
integer :: k
end subroutine
program pr47331
call foo
end program pr47331