github.com/gmemcc/yaegi@v0.12.1-0.20221128122509-aa99124c5d16/_test/assign12.go (about)

     1  package main
     2  
     3  import "fmt"
     4  
     5  func main() {
     6  	a, b, c := fmt.Println("test")
     7  	println(a, b, c)
     8  }
     9  
    10  // Error:
    11  // 6:2: assignment mismatch: 3 variables but fmt.Println returns 2 values