blob: 6103d1ee9f508679c1b818d14fe1d65fb2e91c75 [file] [log] [blame]
-- functionextraction_extract_return_basic_5_2 --
package extract
func _() bool {
x := 1
//@mark(exSt2, "if")
shouldReturn, returnValue := newFunction(x)
if shouldReturn {
return returnValue
} //@mark(exEn2, "}")
return false
//@extractfunc(exSt2, exEn2)
}
func newFunction(x int) (bool, bool) {
if x == 0 {
return true, true
}
return false, false
}