gcc/libgomp/testsuite/libgomp.fortran/pr63938-1.f90
Tobias Burnus c425e66b27 libgomp/testsuite – use 'stop'
libgomp/
	* testsuite/libgomp.fortran/: Replace 'STOP' by 'stop'.

From-SVN: r277609
2019-10-30 12:44:54 +01:00

15 lines
240 B
Fortran

! PR fortran/63938
! { dg-do run }
program pr63938_1
integer :: i, x(1)
x(1) = 0
!$omp parallel do
do i = 1, 1000
!$omp atomic
x(1) = x(1) + 1
end do
!$omp end parallel do
if (x(1) .ne. 1000) stop 1
end program pr63938_1