about summary refs log tree commit diff
path: root/users/tazjin/rlox/examples/if.lox
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/rlox/examples/if.lox')
-rw-r--r--users/tazjin/rlox/examples/if.lox7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/tazjin/rlox/examples/if.lox b/users/tazjin/rlox/examples/if.lox
new file mode 100644
index 000000000000..5f335c0e8b29
--- /dev/null
+++ b/users/tazjin/rlox/examples/if.lox
@@ -0,0 +1,7 @@
+if (false) {
+  print "yes";
+} else {
+  print "no";
+}
+
+print "afterwards";