summaryrefslogtreecommitdiff
path: root/src/test/java/com/seaofnodes/simple/spill/Chapter21Test-testAntiDeps1.smp
blob: 315cc5b63d86e49587d68f637608beaeefcb7069 (plain)
1
2
3
4
5
6
7
8
9
10
struct _S { int f; };
var v0 = new _S;
!_S? !v1;
if (arg) v1 = new _S;
if (v1) {
    v0.f = v1.f;
} else {
    v0.f = 2;
}
return v0;