about summary refs log tree commit diff stats
path: root/apps/ex2.2.mu
diff options
context:
space:
mode:
Diffstat (limited to 'apps/ex2.2.mu')
-rw-r--r--apps/ex2.2.mu9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/ex2.2.mu b/apps/ex2.2.mu
index dce1fe3f..b177e770 100644
--- a/apps/ex2.2.mu
+++ b/apps/ex2.2.mu
@@ -1,3 +1,12 @@
+# Increment a number, and return the result in the exit code.
+#
+# To run:
+#   $ ./translate_mu apps/ex2.2.mu
+#   $ ./a.elf
+# Expected result:
+#   $ echo $?
+#   7
+
 fn main -> result/ebx: int {
   result <- foo
 }