repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
logical_comp.f90
blob
bbf81260ba645b150d95a656e84f0c244d6f7e02
1
! { dg-do compile }
2
! PR fortran/22503, PR fortran/32899
3
! Suggest use of appropriate comparison operator
4
5
program
foo
6
logical
::
b
7
b
=
b
.
eq
.
b
! { dg-error "must be compared with" }
8
b
=
b
.
ne
.
b
! { dg-error "must be compared with" }
9
end program