binutils-gdb/gdb/testsuite/gdb.go/handcall.go

16 lines
174 B
Go

package main
func add (a,b int) (int) {
return a + b
}
func sub (a,b int) (int) {
return a - b
}
var v_int int
func main () {
v_int = 42 // set breakpoint 1 here
}