Debian Codegraph @

framework/tests/all-systems/Issue671.java

raw
1 // Test case for Issue #671
2 // https://github.com/typetools/checker-framework/issues/671
3 class Issue671 {
4
5 void foo() {
6 byte var = 0;
7 boolean f = (var == (method() ? 2 : 0));
8 }
9
10 boolean method() {
11 return false;
12 }
13 }