• Ian Lance Taylor's avatar
    Match gccgo error messages. · db3ec4f2
    Ian Lance Taylor authored
    bug121.go:12:3: error: name list not allowed in interface type
    bug121.go:16:2: error: expected signature or type name
    
    semi1.go:10:76: error: unexpected semicolon or newline before ‘{’
    semi1.go:10:5: error: reference to undefined name ‘x’
    semi1.go:10:8: error: reference to undefined name ‘y’
    semi1.go:12:3: error: reference to undefined name ‘z’
    
    semi2.go:10:79: error: unexpected semicolon or newline before ‘{’
    semi2.go:10:9: error: reference to undefined name ‘x’
    
    semi3.go:10:79: error: unexpected semicolon or newline before ‘{’
    semi3.go:10:6: error: reference to undefined name ‘x’
    semi3.go:10:9: error: reference to undefined name ‘y’
    semi3.go:10:12: error: reference to undefined name ‘z’
    semi3.go:12:3: error: reference to undefined name ‘z’
    
    semi4.go:11:2: error: unexpected semicolon or newline before ‘{’
    semi4.go:10:6: error: reference to undefined name ‘x’
    semi4.go:12:3: error: reference to undefined name ‘z’
    
    semi5.go:10:1: error: unexpected semicolon or newline before ‘{’
    
    semi7.go:11:2: error: unexpected semicolon or newline before ‘else’
    semi7.go:10:5: error: reference to undefined name ‘x’
    
    slice.go:9:11: error: missing lower bound in slice expression
    slice.go:9:9: error: reference to undefined name ‘y’
    slice.go:9:12: error: reference to undefined name ‘z’
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/201061
    db3ec4f2
semi1.go 327 Bytes