testdata: add more test cases in testdata

Specifically test for one or multiple init functions.
This commit is contained in:
Marc-Antoine Ruel
2018-10-24 22:55:22 -04:00
committed by Ayke van Laethem
parent 97d4558d81
commit 7f30ef7e4d
4 changed files with 27 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package main
func init() {
println("init1")
}
func init() {
println("init2")
}
func main() {
println("main")
}