Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/any_all_2.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! PR 34838 - this failed with "Can't convert LOGICAL(1) to LOGICAL(1) ! Test case contributed by Manfred Schwab. program main Logical(kind=1) :: bmp(1),bmpv(1) bmp(1)=.false. bmpv(1)=.true. if ( ANY(bmp(1:1) .NEQV. bmpv(1:1)) ) then print*,"hello" end if if ( ALL(bmp(1:1) .NEQV. bmpv(1:1)) ) then print*,"hello" end if end program main