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.src10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/7.src b/examples/7.src
new file mode 100644
index 0000000..36796cb
--- /dev/null
+++ b/examples/7.src
@@ -0,0 +1,10 @@
+let main = () => {
+	let i = 4;
+	
+	if i == 4 {
+		print(i);
+		return i;
+	}
+
+	return 1;
+};