aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.go/handcall.go
blob: c09d997f1488511461242366b7664d479cf7c523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}