summaryrefslogtreecommitdiff
path: root/samples/p05
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/p05
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/p05')
-rw-r--r--samples/p0510
1 files changed, 0 insertions, 10 deletions
diff --git a/samples/p05 b/samples/p05
deleted file mode 100644
index 51c2c9b..0000000
--- a/samples/p05
+++ /dev/null
@@ -1,10 +0,0 @@
-func f(i int) int {
- if i < 2 {
- if i == 1 {
- return
- } }
- println("i", i)
-}
-
-f(1)
-println("bye")