-- functionextraction_extract_args_returns_5_2 --
package extract

func _() {
	a := 1
	a = fn0(a) //@mark(exEn0, "2")
	//@extractfunc(exSt0, exEn0)
	b := a * 2 //@mark(exB, "	b")
	_ = 3 + 4  //@mark(exEnd, "4")
	//@extractfunc(exB, exEnd)
}

func fn0(a int) int {
	a = 5
	a = a + 2
	return a
}

-- functionextraction_extract_args_returns_8_1 --
package extract

func _() {
	a := 1
	a = 5     //@mark(exSt0, "a")
	a = a + 2 //@mark(exEn0, "2")
	//@extractfunc(exSt0, exEn0)
	fn0(a)  //@mark(exEnd, "4")
	//@extractfunc(exB, exEnd)
}

func fn0(a int) {
	b := a * 2
	_ = 3 + 4
}

