-- functionextraction_extract_smart_return_6_2 -- | |
package extract | |
func _() { | |
var b []int | |
var a int | |
//@mark(exSt7, "a") | |
b = newFunction(a, b) //@mark(exEn7, ")") | |
b[0] = 1 | |
//@extractfunc(exSt7, exEn7) | |
} | |
func newFunction(a int, b []int) []int { | |
a = 2 | |
b = []int{} | |
b = append(b, a) | |
return b | |
} | |