summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc19
1 files changed, 6 insertions, 13 deletions
diff --git a/test.toc b/test.toc
index 61666ce..8693412 100644
--- a/test.toc
+++ b/test.toc
@@ -7,18 +7,11 @@
// ");
// };
-// Foo @= struct(x @ int) {
-// a: [x]float;
-// };
-
-q @= fn() (int,int) {3,5};
-r @= fn(x, y @=q()) int {
-x*y
+Foo @= struct(x @ int) {
+ a: [x]float;
};
-// main @= fn() {
-// // f : Foo(13);
-// // puti(f.a[12]);
-// puti(r(10,10));
-// puti(r(10,5+5));
-// }; \ No newline at end of file
+main @= fn() {
+ f : Foo(13);
+// puti(f.a[12]);
+}; \ No newline at end of file