1// errorcheck 2 3// Copyright 2020 The Go Authors. All rights reserved. Use of this 4// source code is governed by a BSD-style license that can be found in 5// the LICENSE file. 6 7package p 8 9var c chan [2 << 16]byte // GC_ERROR "channel element type too large" 10 11type T [1 << 17]byte 12 13var x chan T // GC_ERROR "channel element type too large" 14