3
// Copyright 2012 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.
7
// Issue 3925: wrong line number for error message "missing key in map literal"
9
// also a test for correct line number in other malformed composite literals.
13
var _ = map[string]string{
15
"3", "4", // ERROR "missing key"
21
20, // ERROR "cannot use"