any_all_2.f90

来自「用于进行gcc测试」· F90 代码 · 共 19 行

F90
19
字号
! { 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 ifend program main

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?