OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [logical_comp.f90] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! PR fortran/22503
3
! Suggest use of appropriate comparison operator
4
 
5
program foo
6
  logical :: b
7
  b = b .eq. b  ! { dg-error ".EQV. instead of .eq." }
8
  b = b .ne. b  ! { dg-error ".NEQV. instead of .ne." }
9
end program

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.