Commit 06507cf0 authored by uxrog's avatar uxrog
Browse files

Merge branch 'exec/while-with-assignments' into 'master'

Add test with multiple assignments in a while condition

See merge request !64
parents d74d2993 c936aeda
Pipeline #194473 failed with stage
in 27 minutes and 10 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