summaryrefslogtreecommitdiff
path: root/samples/p06
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-07-10 15:54:13 +0200
committerMarc Vertes <mvertes@free.fr>2023-07-10 15:54:13 +0200
commit80c277773a1e73267832641574654361b85e6028 (patch)
treec39b422716e41e47987b62cdc4a9dd2649cc2138 /samples/p06
first commit
Diffstat (limited to 'samples/p06')
-rw-r--r--samples/p067
1 files changed, 7 insertions, 0 deletions
diff --git a/samples/p06 b/samples/p06
new file mode 100644
index 0000000..88029cc
--- /dev/null
+++ b/samples/p06
@@ -0,0 +1,7 @@
+func f(i int) {
+ if i < 2 { return }
+ println("i > 1:", i)
+}
+
+f(1)
+println("bye")