3 // Copyright 2017 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 // Test error recovery after missing closing parentheses in lists.
12 x := f(g() // ERROR "unexpected newline"
20 x := f(g() // ERROR "unexpected newline"
24 x := []int{1, 2, 3 // ERROR "unexpected newline"