GDB tests for Go language support: remove unnecessary first breakpoint
[binutils-gdb.git] / gdb / testsuite / gdb.go / hello.go
blob17b1d4ac1fd750ed71ccbe8b0a2f5526b03e1fde
1 package main
3 import "fmt"
5 var myst = "Shall we?"
7 func main () {
8 fmt.Println ("Before assignment")
9 st := "Hello, world!" // this intentionally shadows the global "st"
10 fmt.Println (st) // set breakpoint 1 here
11 fmt.Println (myst)