1
0
mirror of https://github.com/golang/go synced 2024-09-25 13:20:13 -06:00

runtime: enable TestEmptySlice

It says to disable until #7564 is fixed. It was fixed in April 2014.

Change-Id: I9bebfe96802bafdd2d1a0a47591df346d91b000c
Reviewed-on: https://go-review.googlesource.com/12858
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Russ Cox 2015-07-29 19:05:07 -04:00
parent d3ffc975f3
commit bfac8623d5

View File

@ -171,9 +171,6 @@ func adjChunks() (*objtype, *objtype) {
// Make sure an empty slice on the stack doesn't pin the next object in memory.
func TestEmptySlice(t *testing.T) {
if true { // disable until bug 7564 is fixed.
return
}
x, y := adjChunks()
// the pointer inside xs points to y.