aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test2
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2018-04-24 14:13:29 -0400
committerClyne Sullivan <tullivan99@gmail.com>2018-04-24 14:13:29 -0400
commitdab3b1d51ea9f7f314a37aecb643dc4b7e52fe98 (patch)
tree6a0eaefcaa8ec0027aa23068595c93071d5e7af0 /tests/test2
parentb761569b3aabfb9cd2034d737d4223de534d3dcb (diff)
tests to folder
Diffstat (limited to 'tests/test2')
-rw-r--r--tests/test217
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test2 b/tests/test2
new file mode 100644
index 0000000..3a03b15
--- /dev/null
+++ b/tests/test2
@@ -0,0 +1,17 @@
+# test2
+# variable and function tests
+# show variable recognition and proper c-function handling
+
+print(a * 1)
+print(3 + b)
+
+print(a = 5)
+print(a * 1)
+
+print(c = 4)
+print(a / c)
+
+print(b = 2)
+print(d = 8)
+
+print(d + (e = 4))