github.com/neugram/ng@v0.0.0-20180309130942-d472ff93d872/eval/testdata/func4.ng (about)

     1  func f(x int) (interface{}, interface{}) { return x, "result" }
     2  
     3  x, res1 := f(3)
     4  y, res2 := f(4)
     5  
     6  if x.(int) + y.(int) == 7 && res1 == "result" && res2 == "result" {
     7  	print("OK")
     8  }