Sign in
third-party-mirror
/
typetools
/
checker-framework
/
0992449ea2fcfa5691fb0b323a6c95ab2c98c1f4
/
.
/
checker
/
tests
/
index
/
SameLenLUBStrangeness.java
blob: b90ca09701d432450c33015aa335320665659a49 [
file
] [
log
] [
blame
]
import
org
.
checkerframework
.
checker
.
index
.
qual
.
SameLen
;
public
class
SameLenLUBStrangeness
{
void
test
(
int
[]
a
,
boolean
cond
)
{
int
[]
b
;
if
(
cond
)
{
b
=
a
;
}
// :: error: (assignment)
int
@SameLen
({
"a"
,
"b"
})
[]
c
=
a
;
}
}