mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
11 lines
120 B
Go
11 lines
120 B
Go
package main
|
|
|
|
var a = func() *bool { b := true; return &b }()
|
|
|
|
func main() {
|
|
println(*a && true)
|
|
}
|
|
|
|
// Output:
|
|
// true
|