about summary refs log tree commit diff
path: root/examples/10.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/10.src
parentBootstrap: Iterate chars (diff)
downloadpry-lang-c8b2865ec524e4774477c18e128522d89358a91d.tar.gz
pry-lang-c8b2865ec524e4774477c18e128522d89358a91d.tar.bz2
pry-lang-c8b2865ec524e4774477c18e128522d89358a91d.zip
Examples: Add expected stdout and exit code
Diffstat (limited to 'examples/10.src')
-rw-r--r--examples/10.src19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/10.src b/examples/10.src
index a3abc39..ac1f960 100644
--- a/examples/10.src
+++ b/examples/10.src
@@ -16,3 +16,22 @@ let main = () => i64 {
 
 	return 1;
 };
+
+/*
+
+Expected stdout:
+
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+
+Expected return: 10
+
+*/