You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic: runtime error: index out of range
goroutine 1 [running]:
panic(0x458f40, 0xc42000a150)
/go/src/runtime/panic.go:500 +0x1a0
main.main()
inc_panic_example/main.go:11 +0x76
The text was updated successfully, but these errors were encountered:
It should alias to Xchg instead of Swap. Found when testing #16985.
Change-Id: If9fd734a1f89b8b2656f421eb31b9d1b0d95a49f
Reviewed-on: https://go-review.googlesource.com/28512
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
What version of Go are you using (
go version
)?devel +fd41951
What operating system and processor architecture are you using (
go env
)?AMD64 Linux
What did you do?
Compile and run this program:
What did you expect to see?
No output. This is what happens in Go 1.7.
What did you see instead?
The text was updated successfully, but these errors were encountered: