Commit c936aeda authored by Tobias Stickling's avatar Tobias Stickling
Browse files

Add test with multiple assignments in a while condition

parent 2c87d796
Pipeline #194101 failed with stage
in 25 minutes and 33 seconds
class Test{
public static void main(String[] args) {
int i = 0;
int n = 20;
int t = 0;
int m = 0;
while ((n=n-1) > 10 || (n=n-1) > 8 || (n=n-1) > 3+0*((t=n)+(n=m)+(m=t))) {
System.out.println(n);
}
}
}
19
18
17
16
15
14
13
12
11
9
0
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