repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
GDB tests for Go language support: remove unnecessary first breakpoint
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.go
/
hello.go
blob
17b1d4ac1fd750ed71ccbe8b0a2f5526b03e1fde
1
package
main
2
3
import
"fmt"
4
5
var
myst
=
"Shall we?"
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
fmt
.
Println
(
myst
)
12
}