shad-go/lectures/11-runtime/inline/main.go

14 lines
117 B
Go
Raw Permalink Normal View History

package main
import (
"os"
)
func F(a int) int {
return 2 / (a - 1)
}
func main() {
os.Exit(F(len(os.Args)))
}