summaryrefslogtreecommitdiff
path: root/test/neststruct.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/neststruct.myr')
-rw-r--r--test/neststruct.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/neststruct.myr b/test/neststruct.myr
index 608e255..863b607 100644
--- a/test/neststruct.myr
+++ b/test/neststruct.myr
@@ -17,5 +17,5 @@ const main = {
s1.x.b = 2
s2 = s1.x
- -> s2.a + s2.b
+ std.exit(s2.a + s2.b)
}