blob: 8be5040c410112680da08c2b9c19166b398d5c6c [file] [log] [blame]
-- functionextraction_extract_smart_initialization_5_2 --
package extract
func _() {
var a []int
//@mark(exSt6, "a")
a, b := newFunction(a) //@mark(exEn6, "4")
//@extractfunc(exSt6, exEn6)
a = append(a, b)
}
func newFunction(a []int) ([]int, int) {
a = append(a, 2)
b := 4
return a, b
}