1 // Copyright 2018 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // Test case for go.dev/issue/23434: Better synchronization of
6 // parser after missing type. There should be exactly
7 // one error each time, with now follow errors.
12 m := make(map[string]! /* ERROR "expected type, found '!'" */ )
20 m := make(map[string]) /* ERROR "expected type, found '\)'" */