Sign in
gnu
/
binutils-gdb
/
refs/tags/gdb-9.1-release
/
.
/
gdb
/
testsuite
/
gdb.go
/
hello.go
blob: 17b1d4ac1fd750ed71ccbe8b0a2f5526b03e1fde [
file
] [
log
] [
blame
]
package main
import "fmt"
var myst = "Shall we?"
func main () {
fmt.Println ("Before assignment")
st := "Hello, world!"
// this intentionally shadows the global "st"
fmt.Println (st)
// set breakpoint 1 here
fmt.Println (myst)
}