summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc16
1 files changed, 1 insertions, 15 deletions
diff --git a/test.toc b/test.toc
index 566bb72..61370d1 100644
--- a/test.toc
+++ b/test.toc
@@ -6,18 +6,4 @@ putf ::= fn(x: float) {
#C("printf(\"%f\\n\", (double)x);
");
};
-foo ::= fn() <int, int> {
- x, y := 3, 5;
- x, y
-};
-
-main ::= fn() {
- a, b := foo();
- x , y::= (int, int);
- puti(a); puti(b);
- c:x = 7;
- d:x = 18;
- k : [5]struct {x: int; y: int;};
- puti(#alignof(k));
- puti(k[0].x);
-}; \ No newline at end of file
+point ::= pkg "point";