Files
yaegi/_test/bool2.go
T

18 lines
143 B
Go

package main
type T struct {
v bool
}
func main() {
a := &T{}
if a.v {
println("ok")
} else {
println("nok")
}
}
// Output:
// nok