blob: 1e8f4b0ec646d4b7ad1ca77d09ed360190089232 [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 _ func /* ERROR function type cannot have type parameters */ [ /* ERROR empty type parameter list */ ]()
type _ func /* ERROR function type cannot have type parameters */ [ x /* ERROR missing type constraint */ ]()
type _ func /* ERROR function type cannot have type parameters */ [P any]()
var _ = func /* ERROR function literal cannot have type parameters */ [P any]() {}
type _ interface{
m /* ERROR interface method cannot have type parameters */ [P any]()
}