repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86342 - -Wdeprecated-copy and system headers.
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.oacc-fortran
/
abort-2.f90
blob
97a692ba6677851d0a71da9a92dfc9664dba0dab
1
! Verify that a conditional "call abort" inside an OpenACC parallel region does
2
! the right thing.
3
4
program
main
5
implicit none
6
7
integer
::
argc
8
argc
=
command_argument_count
()
9
10
!$acc parallel copyin(argc)
11
if
(
argc
.
ne
.
0
)
then
12
call
abort
13
end if
14
!$acc end parallel
15
16
end program
main