blob: 15396a814ff5ea37c1f47293e8f5a2a5cf582cfe [file] [log] [blame]
// import org.checkerframework.common.initializedfields.qual.InitializedFields;
public class ConstructorPostcondition {
int x;
int y;
int z;
ConstructorPostcondition() {
x = 1;
y = 2;
z = 3;
}
// :: error: (contracts.postcondition)
ConstructorPostcondition(int ignore) {
x = 1;
y = 2;
}
}