blob: 6e4bec08c7cc1bf1aabc9a118017d3e6c6e8cb94 [file] [log] [blame]
// This is a test case for Issue 345:
// https://github.com/typetools/checker-framework/issues/345
public class Issue345 {
String f1;
String f2;
{
// :: error: (assignment)
f1 = f2;
f2 = f1;
f2.toString(); // Null pointer exception here
}
public static void main(String[] args) {
Issue345 a = new Issue345();
}
}