Commit 17e5539f authored by Russ Cox's avatar Russ Cox

test: fix build (update for new error message)

R=golang-dev
CC=golang-dev
https://golang.org/cl/13521044
parent b7a609b6
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment