PR c++/86342 - -Wdeprecated-copy and system headers.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-fortran / stop-2.f
blob13c06845c08fb8e2196fc544955e06a3168cb842
1 ! { dg-do run }
3 PROGRAM MAIN
4 IMPLICIT NONE
6 PRINT *, "CheCKpOInT"
7 !$ACC PARALLEL
8 STOP 35
9 !$ACC END PARALLEL
10 PRINT *, "WrONg WAy"
12 END PROGRAM MAIN
14 ! { dg-output "CheCKpOInT(\n|\r\n|\r)+" }
15 ! { dg-output "STOP 35(\n|\r\n|\r)+" }
16 ! PR85463. The "minimal" libgfortran implementation used with nvptx
17 ! offloading is a little bit different.
18 ! { dg-output "libgomp: cuStreamSynchronize error.*" { target openacc_nvidia_accel_selected } }
19 ! { dg-output "$" }
20 ! { dg-shouldfail "" }