blob: 18adc4db42d3fefb32308b4b74a033eb9921cd6f [file] [log] [blame]
-- functionextraction_extract_basic_3_10 --
package extract
func _() { //@mark(exSt25, "{")
//@mark(exSt1, "a")
newFunction() //@mark(exEn1, "4")
//@extractfunc(exSt1, exEn1)
//@extractfunc(exSt25, exEn25)
}
func newFunction() {
a := 1
_ = 3 + 4
} //@mark(exEn25, "}")
-- functionextraction_extract_basic_4_2 --
package extract
func _() { //@mark(exSt25, "{")
//@mark(exSt1, "a")
newFunction() //@mark(exEn1, "4")
//@extractfunc(exSt1, exEn1)
//@extractfunc(exSt25, exEn25)
}
func newFunction() {
a := 1
_ = 3 + 4
} //@mark(exEn25, "}")