Files
yaegi/_test/nil2.go
T

13 lines
149 B
Go

package main
func test() error { return nil }
func main() {
if err := test(); nil == err {
println("err is nil")
}
}
// Output:
// err is nil