mirror of
https://github.com/golang/go
synced 2024-11-21 02:54:40 -07:00
test: fix build (update for new error message)
R=golang-dev CC=golang-dev https://golang.org/cl/13521044
This commit is contained in:
parent
b7a609b660
commit
17e5539f7d
@ -10,8 +10,8 @@ var c chan int
|
||||
var v int
|
||||
|
||||
func main() {
|
||||
if c <- v { // ERROR "send statement.*value.*select"
|
||||
if c <- v { // ERROR "used as value"
|
||||
}
|
||||
}
|
||||
|
||||
var _ = c <- v // ERROR "send statement.*value.*select"
|
||||
var _ = c <- v // ERROR "used as value"
|
||||
|
Loading…
Reference in New Issue
Block a user