aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.go/strings.go
blob: fc62e396427d8119f81caa7d5c4459a91bf7831a (plain)
1
2
3
4
5
6
7
8
9
10
package main

import "fmt"

var v_string string = "foo"

func main () {
  fmt.Println ("hello") // set breakpoint 1 here
  fmt.Printf ("%s\n", v_string)
}