about summary refs log tree commit diff
path: root/examples/8.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-05-04 23:11:05 +0200
committerBaitinq <[email protected]>2025-05-04 23:11:09 +0200
commitc8b2865ec524e4774477c18e128522d89358a91d (patch)
tree8d95f810def4746e923e3cfe62fb030c7a9ed12b /examples/8.src
parentBootstrap: Iterate chars (diff)
downloadinterpreter-c8b2865ec524e4774477c18e128522d89358a91d.tar.gz
interpreter-c8b2865ec524e4774477c18e128522d89358a91d.tar.bz2
interpreter-c8b2865ec524e4774477c18e128522d89358a91d.zip
Examples: Add expected stdout and exit code
Diffstat (limited to 'examples/8.src')
-rw-r--r--examples/8.src10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/8.src b/examples/8.src
index 012005c..748c809 100644
--- a/examples/8.src
+++ b/examples/8.src
@@ -15,3 +15,13 @@ let main = () => i64 {
 	printf("%d\n", result);
 	return result;
 };
+
+/*
+
+Expected stdout:
+
+832040
+
+Expected return: 832040
+
+*/