1
0
mirror of https://github.com/golang/go synced 2024-11-26 12:37:57 -07:00
go/test/syntax
Ian Lance Taylor 73e796cb00 test: match gofrontend error messages
The gofrontend code doesn't distinguish semicolon and newline,
and it doesn't have special treatment for EOF.

syntax/semi6.go:9:47: error: unexpected semicolon or newline in type declaration
syntax/semi6.go:11:62: error: unexpected semicolon or newline in type declaration

Change-Id: I9996b59a4fc78ad1935e779f354ddf75c0fb44e0
Reviewed-on: https://go-review.googlesource.com/c/go/+/274692
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
2020-12-02 02:56:41 +00:00
..
chan1.go
chan.go
composite.go
ddd.go
else.go
if.go
import.go
initvar.go
interface.go
semi1.go
semi2.go
semi3.go
semi4.go
semi5.go
semi6.go test: match gofrontend error messages 2020-12-02 02:56:41 +00:00
semi7.go
topexpr.go
typesw.go
vareq1.go
vareq.go