Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
checker
/
tests
/
signedness
/
CompareChars.java
blob: 35c5fdeb7d9b87b187a2f0db6f03987715c4658a [
file
] [
log
] [
blame
]
// Test case for issue 3668:
// https://github.com/typetools/checker-framework/issues/3669
public
class
CompareChars
{
void
compareUnsignedChars
(
char
c2
)
{
char
c1
=
'a'
;
boolean
res
=
c1
>
c2
;
res
=
c1
>=
c2
;
res
=
c1
<
c2
;
res
=
c1
<=
c2
;
}
}