where_13.f90   [plain text]


! Check empty WHERE and empty ELSEWHERE works
program where_13
   integer :: a(5)

   a = (/1, 2, 3, 4, 5/)
   where (a .eq. 2)
   elsewhere
   endwhere
end program