1// compile
2
3// Copyright 2014 The Go Authors. All rights reserved.
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7// Issue 7590: gccgo incorrectly traverses nested composite literals.
8
9package p
10
11type S struct {
12	F int
13}
14
15var M = map[string]S{
16	"a": { F: 1 },
17}
18
19var P = M["a"]
20
21var F = P.F
22