summaryrefslogtreecommitdiff
path: root/src/test/java/com/seaofnodes/simple/spill/Chapter23Test-testOrRhsLoopLocal.smp
blob: c4e4f9b59010e4ae5d1b59b0e51517117db72941 (plain)
1
2
3
4
5
6
7
8
9
10
struct _S { int f; };
int x=0;
int result=arg&1;
if(!result) {
    !_S !s=new _S;
    while(x<3) x++;
    s.f=++x;
    result=s.f;
}
return x*10+result;