1 // $G $D/$F.go && $L $F.$A && ./$A.out
3 // Copyright 2011 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Test various parsing cases that are a little
8 // different now that send is a statement, not a expression.
18 cc := make(chan chan int, 1)
19 c := make(chan int, 1)
32 c := make(chan bool, 1)
33 c <- false || true // not a syntax error: same as c <- (false || true)