Sign in
llvm
/
llvm-archive
/
4c0eaea2f24bb29c9834811d33e29a33d888873d
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
where_15.f90
blob: ffbebb728aae2ab4cce19eb555f5cb3e01915ca5 [
file
] [
log
] [
blame
]
!
Check
whether an empty WHERE works
program where_15
integer
::
a
(
5
)
integer
::
b
(
5
)
a
=
(
/1, 2, 3, 4, 5/
)
b
=
(
/0, 0, 0, 0, 0/
)
where
(
a
.
eq
.
1
)
elsewhere
b
=
2
endwhere
if
(
any
(
b
.
ne
.
(
/0, 2, 2, 2, 2/
)))
&
call abort
end
program