1
0
mirror of https://github.com/golang/go synced 2024-11-08 18:46:16 -07:00
go/test/fixedbugs/issue4879.go
Rémy Oudompheng 9e66ee4562 cmd/gc: fix corruption in export of &T{} literals.
Composite literals using the &T{} form were incorrectly
exported, leading to weird errors at import time.

Fixes #4879.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7395054
2013-02-26 00:43:31 +01:00

11 lines
284 B
Go

// compiledir
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Issue 4879: export data misses the '&' for some
// composite literals in inlined bodies.
package ignored