rt_gccstream/gcc/testsuite/gfortran.dg/and_or_xor.f90

8 lines
212 B
Fortran

! { dg-do run }
program L
if (and(.TRUE._1, .TRUE._1) .neqv. .true.) call abort
if (or(.TRUE._1, .TRUE._1) .neqv. .true.) call abort
if (xor(.TRUE._1, .TRUE._1) .neqv. .false.) call abort
end program L