Commit 1fa15516 authored by uudyh's avatar uudyh Committed by uxrog
Browse files

Add test for correct handling of Unknown: assignment within condition

parent 59c8be3f
class a {
public static void main(String[] args) {
boolean b = false;
boolean c;
b = false || (c = true);
new a().print(c);
public void print(boolean b) {
if (b) System.out.println(4); else System.out.println(5);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment