1
0
mirror of https://github.com/golang/go synced 2024-11-23 17:10:03 -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:
Russ Cox 2013-09-06 16:15:30 -04:00
parent b7a609b660
commit 17e5539f7d

View File

@ -10,8 +10,8 @@ var c chan int
var v int var v int
func main() { 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"