PR c++/86342 - -Wdeprecated-copy and system headers.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-fortran / abort-1.f90
blobfc0af7ff7d89e3dc7517f9d575369c16101c9126
1 ! Verify that an unconditional "call abort" inside an OpenACC parallel region
2 ! does the right thing.
4 program main
5 implicit none
7 print *, "CheCKpOInT"
8 !$acc parallel
9 call abort
10 !$acc end parallel
12 end program main
14 ! { dg-output "CheCKpOInT" }
15 ! { dg-shouldfail "" }