% loadsys package imports LVAR LNAME '=' LNAME '{' LNAME ';'
        "need trailing comma before newline in composite literal",
        
+       % loadsys package imports LVAR LNAME '=' comptype '{' LNAME ';'
+       "need trailing comma before newline in composite literal",
+       
        % loadsys package imports LFUNC LNAME '(' ')' '{' LFUNC LNAME
        "nested func not allowed",
 
 
        425, ';',
        "need trailing comma before newline in composite literal",
        
+       435, ';',
+       "need trailing comma before newline in composite literal",
+       
        112, LNAME,
        "nested func not allowed",
 
 
--- /dev/null
+// errorcheck
+
+// Copyright 2012 The Go Authors.  All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package main
+
+var a = []int{
+       3 // ERROR "need trailing comma before newline in composite literal"
+}