testdata for IDEA-67808

This commit is contained in:
Anna Kozlova
2015-12-07 10:35:33 +01:00
parent f55279387c
commit cde4b88ba3
@@ -426,4 +426,14 @@ class NotDefinitelyUnassigned {
}
<error descr="Variable 'i' might already have been assigned to">i</error> = 1;
}
}
class ClassInitializerConstantEval {
{
final int x;
if(false){
x = 1;
<error descr="Variable 'x' might already have been assigned to">x</error> = 1;
}
}
}