[gdb/testsuite] Fix hello.go xpass
[binutils-gdb.git] / gdb / testsuite / gdb.go / hello.go
index 17b1d4ac1fd750ed71ccbe8b0a2f5526b03e1fde..67114dde7143032ad805d6d92cf1948a2b7dc9b9 100644 (file)
@@ -2,11 +2,8 @@ package main
 
 import "fmt"
 
-var myst = "Shall we?"
-
 func main () {
   fmt.Println ("Before assignment")
-  st := "Hello, world!" // this intentionally shadows the global "st"
+  st := "Hello, world!"
   fmt.Println (st) // set breakpoint 1 here
-  fmt.Println (myst)
 }