blob: c04510dd0e23da99fffe9c1284e4afb8fc42066b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
! { dg-do compile }
!
! PR fortran/53732
! this was leading to an internal "mismatching comparison operand types"
! error.
!
! Original testcase by minzastro <minzastro@googlemail.com>
! Fixed by Dominique Dhumieres <dominiq@lps.ens.fr>
program test
implicit none
real(8) arr(4,4,4,4)
arr(:,:,:,:) = 1d0
arr(1,:,:,:) = sum(arr, dim=1, mask=(arr(:,:,:,:) > 0d0))
end program test
|