Files
tinygo/testdata/init_multi.go
T
Marc-Antoine Ruel 7f30ef7e4d testdata: add more test cases in testdata
Specifically test for one or multiple init functions.
2018-10-25 20:37:35 +02:00

14 lines
117 B
Go

package main
func init() {
println("init1")
}
func init() {
println("init2")
}
func main() {
println("main")
}