summaryrefslogtreecommitdiff
path: root/examples/inlinefunctions.fy
diff options
context:
space:
mode:
Diffstat (limited to 'examples/inlinefunctions.fy')
-rw-r--r--examples/inlinefunctions.fy20
1 files changed, 0 insertions, 20 deletions
diff --git a/examples/inlinefunctions.fy b/examples/inlinefunctions.fy
deleted file mode 100644
index 81848ce..0000000
--- a/examples/inlinefunctions.fy
+++ /dev/null
@@ -1,20 +0,0 @@
-#*
- * Simple builtin function tests
- *#
-
-# Print "-20\n"
-assert (neg 20) == (say neg 20);
-
-# Print "30\n"
-assert 30 == (say 10 - neg 20);
-
-# Print "-30\n"
-assert (neg 30) == (say neg neg neg 10 - neg 20);
-
-# Print "Hello\n"
-put "Hello";
-ln;
-
-# Exit with exit code 0
-exit 10 + 10 - 5 - 15;
-