Fix gcc.c-torture/execute/ieee/cdivchkf.c on hpux
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-fortran / abort-2.f90
blob6671d46d8b8594611e5627305f59ce9905d22684
1 ! { dg-do run }
3 ! Verify that a conditional "call abort" inside an OpenACC parallel region does
4 ! the right thing.
6 program main
7 implicit none
9 integer :: argc
10 argc = command_argument_count ()
12 !$acc parallel copyin(argc)
13 if (argc .ne. 0) then
14 call abort
15 end if
16 !$acc end parallel
18 end program main