aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.fortran-torture/compile/logical-2.f90
blob: c31443f946882122add5b3340a52b64188782e9c (plain)
1
2
3
4
5
6
7
8
9
10
! Check for operand type validity after gimplification

subroutine whatever()
logical(kind=1) :: l1
logical(kind=2) :: l2
logical(kind=4) :: l3
if ((l1 .and. l2) .neqv. l3) then
   l1 = .true.
endif
end