3 // Copyright 2009 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 // Verify allowed and disallowed conversions.
12 // everything here is legal except the ERROR line
16 var d2 = (chan<- int)(c)
28 var j1 J = h // ERROR "compat|illegal|cannot"