github.com/AndrienkoAleksandr/go@v0.0.19/src/go/parser/testdata/commas.src (about) 1 // Copyright 2012 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. 4 5 // Test case for error messages/parser synchronization 6 // after missing commas. 7 8 package p 9 10 var _ = []int{ 11 0/* ERROR AFTER "missing ','" */ 12 } 13 14 var _ = []int{ 15 0, 16 1, 17 2, 18 3/* ERROR AFTER "missing ','" */ 19 }