diff options
author | Russ Cox <rsc@golang.org> | 2011-12-05 14:22:41 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-12-05 14:22:41 -0500 |
commit | 5cb1c82d961a1b2e70b34492e51cc42292913781 (patch) | |
tree | 6bf91da8f57c35aa353b2b3da71db6f44dbb17c9 /test/complit.go | |
parent | 98553f1422392f135989e0daafab352b66c561c2 (diff) | |
download | go-5cb1c82d961a1b2e70b34492e51cc42292913781.tar.gz go-5cb1c82d961a1b2e70b34492e51cc42292913781.zip |
gc: remove type elision in struct literals
R=ken2
CC=golang-dev
https://golang.org/cl/5437136
Diffstat (limited to 'test/complit.go')
-rw-r--r-- | test/complit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/complit.go b/test/complit.go index c9de616f55..8dfc71dcb4 100644 --- a/test/complit.go +++ b/test/complit.go @@ -58,7 +58,7 @@ func main() { var tp *T tp = &T{0, 7.2, "hi", &t} - tl := &T{i: 0, next: {i: 1, next: {i: 2, next: {i: 3, next: {i: 4}}}}} + tl := &T{i: 0, next: &T{i: 1, next: &T{i: 2, next: &T{i: 3, next: &T{i: 4}}}}} teq(tl, 5) a1 := []int{1, 2, 3} |