blob: 1a5b4d4ce25fe381b0b0e0a3d63aebdb5f4281d8 [file] [log] [blame]
-- functionextraction_extract_return_init_5_2 --
package extract
func _() string {
x := 1
//@mark(exSt5, "if")
cond0, ret0 := fn0(x)
if cond0 {
return ret0
} //@mark(exEn5, "}")
x = 2
return "b"
//@extractfunc(exSt5, exEn5)
}
func fn0(x int) (bool, string) {
if x == 0 {
x = 3
return true, "a"
}
return false, ""
}