summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc7
1 files changed, 0 insertions, 7 deletions
diff --git a/test.toc b/test.toc
index c7e4997..7991086 100644
--- a/test.toc
+++ b/test.toc
@@ -6,23 +6,16 @@ puti @= fn(x: int) {
Point @= struct {
x, y : int;
};
-
-
-
sum @= fn(p: &Point) int {
p.x + p.y
};
-
-
somesum @= fn() int {
-
p : Point;
p.x = 12389;
p.y = 29404;
total := sum(&p);
total
};
-
main @= fn() {
// puti(somesum());
foo @= somesum();