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
This can probably be reduced further, but the following works. The example below shows the value changing to 0, but I've observed it being filled with other garbage values as well.
$ go version
go version go1.4.2 linux/amd64
$ go test
PASS
$ go version
go version devel +1e48683 Wed Jun 3 22:28:06 2015 +0000 linux/amd64
$ /tmp/g/bin/go test
--- FAIL: TestP (0.00s)
p_test.go:35: got 0, want 42
FAIL
The text was updated successfully, but these errors were encountered:
This can probably be reduced further, but the following works. The example below shows the value changing to 0, but I've observed it being filled with other garbage values as well.
I'm guessing the value is being incorrectly GCd.
The text was updated successfully, but these errors were encountered: