summaryrefslogtreecommitdiff
path: root/tnslc
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc')
-rw-r--r--tnslc/test.tnsl21
-rw-r--r--tnslc/test2.tnsl7
2 files changed, 0 insertions, 28 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl
deleted file mode 100644
index 0451c73..0000000
--- a/tnslc/test.tnsl
+++ /dev/null
@@ -1,21 +0,0 @@
-/; module util
- :include "c_wrap.tnsl"
-;/
-
-/; module tnslc
- :include "test2.tnsl"
-
- /; run (uint argc, ~~uint8 argv) [int]
- {}uint8 c = "asdf"
- return 0
- ;/
-;/
-
-tnslc.Try A = {1, 2, 3}
-
-/; raw main (uint argc, ~~uint8 argv) [int]
- # Manually match registers so values are in expected compile registers
- asm "mov r8, rdi"
- asm "mov r9, rsi"
- raw return tnslc.run(argc, argv)
-;/ \ No newline at end of file
diff --git a/tnslc/test2.tnsl b/tnslc/test2.tnsl
deleted file mode 100644
index 481003d..0000000
--- a/tnslc/test2.tnsl
+++ /dev/null
@@ -1,7 +0,0 @@
-struct Try {
- int a, b, c
-}
-
-/; method Try
- /; raw e ;/
-;/