From d850bd17e2533179bfbc2dd6cd8d0c11a43786ba Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sun, 14 May 2023 01:43:58 -0400 Subject: Windows C wrapping --- tnslc/tests/proper_calling.tnsl | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 tnslc/tests/proper_calling.tnsl (limited to 'tnslc/tests') 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 -- cgit v1.2.3