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
Fortran: F2008 passing of internal procs to a proc pointer [PR117434]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
where_14.f90
blob
f02b73ef698f1ac8ca52baeddd60f766b8c1cb71
1
! Check whether an empty ELSEWHERE works
2
program
where_14
3
integer
::
a
(
5
)
4
integer
::
b
(
5
)
5
6
a
= (/
1
,
2
,
3
,
4
,
5
/)
7
b
= (/
0
,
0
,
0
,
0
,
0
/)
8
where
(
a
.
eq
.
1
)
9
b
=
3
10
elsewhere
11
endwhere
12
if
(
any
(
b
.
ne
. (/
3
,
0
,
0
,
0
,
0
/))) &
13
STOP
1
14
end program
15