diff options
Diffstat (limited to 'test/syntax/chan1.go')
-rw-r--r-- | test/syntax/chan1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/syntax/chan1.go b/test/syntax/chan1.go index 868a1226d..4860422ad 100644 --- a/test/syntax/chan1.go +++ b/test/syntax/chan1.go @@ -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" |