blob: 15e9b70d1d9d5eb2d1fa90988928798b78a86e62 [file] [log] [blame]
// Copyright 2021 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 p
type T[P any] struct{}
type _ interface{ int | T /* ERROR "cannot use generic type" */ }