From d4299c4b6f2f04f5eb8f36416f06c42e2586e7c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20B=C3=B6hm?= Date: Sat, 4 Jul 2009 11:16:49 +0200 Subject: add test cases --- test/test2.t | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/test2.t (limited to 'test/test2.t') diff --git a/test/test2.t b/test/test2.t new file mode 100644 index 0000000..8a19e95 --- /dev/null +++ b/test/test2.t @@ -0,0 +1,9 @@ +fun main[] + sum = 0 + i = (sum + 10) * 5 + while (i + 3 < 10) + sum = sum + call fib[i] + i = i + 1 + end + @sum +end -- cgit v1.2.3