summaryrefslogtreecommitdiff
path: root/samples/add
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/add
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/add')
-rw-r--r--samples/add2
1 files changed, 0 insertions, 2 deletions
diff --git a/samples/add b/samples/add
deleted file mode 100644
index a403485..0000000
--- a/samples/add
+++ /dev/null
@@ -1,2 +0,0 @@
-func add(a int, b int) int { return a + b }
-add(4, 3)