mirror of
https://github.com/golang/go
synced 2024-11-22 01:14:40 -07:00
go/typechecker: fix build
R=rsc CC=golang-dev https://golang.org/cl/4278043
This commit is contained in:
parent
7664ec39b8
commit
86e35a96a7
2
src/pkg/go/typechecker/testdata/test1.src
vendored
2
src/pkg/go/typechecker/testdata/test1.src
vendored
@ -7,7 +7,7 @@
|
||||
package P1
|
||||
|
||||
const (
|
||||
c1 /* ERROR "missing initializer" */
|
||||
c1 = 0
|
||||
c2 int = 0
|
||||
c3, c4 = 0
|
||||
)
|
||||
|
2
src/pkg/go/typechecker/testdata/test4.src
vendored
2
src/pkg/go/typechecker/testdata/test4.src
vendored
@ -7,5 +7,5 @@
|
||||
package P4
|
||||
|
||||
const (
|
||||
c0 /* ERROR "missing initializer" */
|
||||
c0 = 0
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user