]> Git Repo - binutils.git/blob - gdb/testsuite/gdb.go/global-local-var-shadow.go
Automatic date update in version.in
[binutils.git] / gdb / testsuite / gdb.go / global-local-var-shadow.go
1 package main
2
3 import "fmt"
4
5 var st = "We shall"
6
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 }
This page took 0.023189 seconds and 4 git commands to generate.