Sign in
go
/
go
/
3d20a327a1f91ae912865aa13bc07cda9930fefc
/
.
/
src
/
cmd
/
compile
/
internal
/
ssa
/
testdata
/
b53456.go
blob: 8104d3ed473862adb6564a129b57801b3905d611 [
file
] [
log
] [
blame
]
package main
type T struct {
m map[int]int
}
func main() {
t := T{
m: make(map[int]int),
}
t.Inc(5)
t.Inc(7)
}
func (s *T) Inc(key int) {
v := s.m[key]
// break, line 16
v++
s.m[key] = v
// also here
}