summary refs log tree commit diff
path: root/examples/7.src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/7.src')
-rw-r--r--examples/7.src8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/7.src b/examples/7.src
index 9bb3c73..3fe60b6 100644
--- a/examples/7.src
+++ b/examples/7.src
@@ -1,7 +1,13 @@
+let ten = () => {
+	return () => {
+		return 10;
+	}();
+};
+
 let main = () => {
 	let i = 4;
 	
-	if (1 - 1 * 2) == 5 - (10 / 2) - 1 {
+	if (1 - -1 * 2) == 5 - (-1 + 1 + ten() / 2) + 3 {
 		print(i);
 		return i;
 	};