diff options
Diffstat (limited to 'test/syntax/chan1.go')
-rw-r--r-- | test/syntax/chan1.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/syntax/chan1.go b/test/syntax/chan1.go deleted file mode 100644 index 9c12e5e6f..000000000 --- a/test/syntax/chan1.go +++ /dev/null @@ -1,17 +0,0 @@ -// errchk $G -e $D/$F.go - -// Copyright 2010 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package main - -var c chan int -var v int - -func main() { - if c <- v { // ERROR "send statement.*value.*select" - } -} - -var _ = c <- v // ERROR "send statement.*value.*select" |