Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
framework
/
tests
/
initialized-fields-value
/
ClassInitializer2a.java
blob: 33a9da3e041af4bb93b395444c56b8beea00c207 [
file
] [
log
] [
blame
]
import
org
.
checkerframework
.
common
.
value
.
qual
.
IntVal
;
public
class
ClassInitializer2a
{
@IntVal
(
1
)
int
x
;
@IntVal
(
2
)
int
y
;
int
z
;
{
x
=
1
;
}
// :: error: (contracts.postcondition)
ClassInitializer2a
()
{}
}