Commit 4b3c41a5 authored by Tobias Stickling's avatar Tobias Stickling
Browse files

Add test case for return in nested block

parent 33a09bee
Pipeline #196254 failed with stage
in 45 minutes and 28 seconds
class Test {
public int i;
public static void main(String[] args) {
Test t = new Test();
t.i = 1;
t.run();
System.out.println(t.i);
}
public void run() {
{
return;
}
i = 5;
return;
}
}
Supports Markdown
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