summaryrefslogtreecommitdiff
path: root/src/test/java/com/seaofnodes/simple/spill/Chapter20Test-testCast.smp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/seaofnodes/simple/spill/Chapter20Test-testCast.smp')
-rw-r--r--src/test/java/com/seaofnodes/simple/spill/Chapter20Test-testCast.smp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/com/seaofnodes/simple/spill/Chapter20Test-testCast.smp b/src/test/java/com/seaofnodes/simple/spill/Chapter20Test-testCast.smp
new file mode 100644
index 00000000..d1368767
--- /dev/null
+++ b/src/test/java/com/seaofnodes/simple/spill/Chapter20Test-testCast.smp
@@ -0,0 +1 @@
+struct _Bar { int x; }; var b = arg ? new _Bar; return b ? b.x++ + b.x++ : -1;