Commit 260aa0ac authored by Chris Manghane's avatar Chris Manghane

test: add extra test case for issue 7590

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/78040043
parent ca2cb519
// compile
// Copyright 2014 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 7590: gccgo incorrectly traverses nested composite literals.
package p
type S struct {
F int
}
var M = map[string]S{
"a": { F: 1 },
}
var P = M["a"]
var F = P.F
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment