summaryrefslogtreecommitdiff
path: root/samples/p06
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-09-04 16:58:15 +0200
committerMarc Vertes <mvertes@free.fr>2023-09-04 16:58:15 +0200
commit4241593b42bffac2f8fcb63f1e88621fe025e360 (patch)
tree48680879982947524e1b028e179608bb5cbcda23 /samples/p06
parent8feddd9b3eefb920c4a0c7a5b4c3b8ae160f3c71 (diff)
codegen: add interpreter tests
Also simplify project structure. The executable is now produced in the root directory. Work in progress.
Diffstat (limited to 'samples/p06')
-rw-r--r--samples/p067
1 files changed, 0 insertions, 7 deletions
diff --git a/samples/p06 b/samples/p06
deleted file mode 100644
index 88029cc..0000000
--- a/samples/p06
+++ /dev/null
@@ -1,7 +0,0 @@
-func f(i int) {
- if i < 2 { return }
- println("i > 1:", i)
-}
-
-f(1)
-println("bye")