From: Muhammad Falak R Wani Date: Tue, 15 Aug 2017 06:41:01 +0000 (+0530) Subject: runtime: remove redeclared structs to make tests build X-Git-Tag: go1.10beta1~1558 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=58cb8a3c8fdc9b83cb8630f17d0ee641eb0327cc;p=gostls13.git runtime: remove redeclared structs to make tests build struct32 and struct40 structs are already declared, remove them to make runtime tests build. Change-Id: I3814f2b850dcb15c4002a3aa22e2a9326e5a5e53 Reviewed-on: https://go-review.googlesource.com/55614 Reviewed-by: Martin Möhrmann --- diff --git a/src/runtime/chan_test.go b/src/runtime/chan_test.go index dd04f82a06..a09baf52e1 100644 --- a/src/runtime/chan_test.go +++ b/src/runtime/chan_test.go @@ -669,11 +669,7 @@ done: <-ready2 } -type ( - struct0 struct{} - struct32 struct{ a, b, c, d int64 } - struct40 struct{ a, b, c, d, e int64 } -) +type struct0 struct{} func BenchmarkMakeChan(b *testing.B) { b.Run("Byte", func(b *testing.B) {