compiler: add tests

This commit adds a very small test case. More importantly, it adds a
framework for other tests to be added in the future.
This commit is contained in:
Ayke van Laethem
2020-03-29 16:25:35 +02:00
parent b8db79f6a6
commit f58e75c386
6 changed files with 174 additions and 12 deletions
+5
View File
@@ -0,0 +1,5 @@
package main
func add(x, y int) int {
return x + y
}