summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc10
1 files changed, 3 insertions, 7 deletions
diff --git a/test.toc b/test.toc
index 822084b..891b513 100644
--- a/test.toc
+++ b/test.toc
@@ -1,11 +1,7 @@
#include "std/io.toc";
main ::= fn() {
- #if "hello" {
- x := 5;
- } else {
- x : FOOTYPE = 6.3 + "foo";
- _+3=bar;
- }
- puti(x);
+ x : &void = 18 as &&char;
+ puti(x as int);
+
}