summaryrefslogtreecommitdiff
path: root/tnslc/tests
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-05-14 01:43:58 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-05-14 01:43:58 -0400
commitd850bd17e2533179bfbc2dd6cd8d0c11a43786ba (patch)
tree15dd425c4c6013983f45df5b0a9fff20afe5a7b9 /tnslc/tests
parented25b8e9740307c5de2d3e14b1ff6f85391b7953 (diff)
Windows C wrapping
Diffstat (limited to 'tnslc/tests')
-rw-r--r--tnslc/tests/proper_calling.tnsl25
1 files changed, 0 insertions, 25 deletions
diff --git a/tnslc/tests/proper_calling.tnsl b/tnslc/tests/proper_calling.tnsl
deleted file mode 100644
index 4480b31..0000000
--- a/tnslc/tests/proper_calling.tnsl
+++ /dev/null
@@ -1,25 +0,0 @@
-struct CallMe {
- int a, b
-}
-
-/; method CallMe
- /; call_two (int a, b) [int]
- return a + b + self.a + self.b
- ;/
-
- /; call_three (int a, b, c) [int]
- return self.call_two(a, b) + self.call_two(a, b) + c
- ;/
-
- /; call_four (int a, b, c, d) [int]
- return self.call_three(a, b, c) + self.call_three(b, c, d)
- ;/
-
-;/
-
-/; main [int]
- CallMe cm
- cm.a = 0
- cm.b = 0
- return cm.call_four(2, 0, 0, 1)
-;/ \ No newline at end of file