mirror of https://github.com/golang/go.git
Add a test for a parameterized slice to make sure that the simplify slice analysis still finds the simplification. Change-Id: I20d5f064bcae60c752f0dee53472dd5db0b18a89 Reviewed-on: https://go-review.googlesource.com/c/tools/+/352089 Trust: Suzy Mueller <suzmue@golang.org> Run-TryBot: Suzy Mueller <suzmue@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
|---|---|---|
| .. | ||
| testdata/src | ||
| simplifyslice.go | ||
| simplifyslice_test.go | ||