blob: 4374f372824f81b37067ba9f39a27dc4db94a478 [file] [log] [blame]
-- functionextraction_extract_unnecessary_param_6_2 --
package extract
func _() {
var b []int
var a int
//@mark(exSt8, "a")
a, b = newFunction(b) //@mark(exEn8, ")")
b[0] = 1
if a == 2 {
return
}
//@extractfunc(exSt8, exEn8)
}
func newFunction(b []int) (int, []int) {
a := 2
b = []int{}
b = append(b, a)
return a, b
}