summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-01-14 20:00:19 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-01-14 20:00:19 -0500
commit1de39ba1ffdacf6841f925537b31b32a4101b632 (patch)
treeb321ca376cc9693136e609fa88aaaca3acc7afa3 /test.toc
parent62349b1f6d9f5948f856e26e3b0eef19567198fa (diff)
extern variable declarations
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.toc b/test.toc
index 168d124..79e07e8 100644
--- a/test.toc
+++ b/test.toc
@@ -12,4 +12,5 @@ point ::= pkg "point";
main ::= fn() {
x : point.Point = point.mk_point(y = 13, 14);
puti(x.x + x.y);
+ point.x = new(int,10);
}; \ No newline at end of file