1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
19 bad1 := *ok; // ERROR "assignment.*T"
20 bad2 := ok1; // ERROR "assignment.*T"
21 *ok4 = ok1; // ERROR "assignment.*T"
22 *ok4 = *ok2; // ERROR "assignment.*T"
23 ok1 = *ok4; // ERROR "assignment.*T"