summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue48301.go
blob: 94c9a5b6f9e2832e47678a5e58d6412177230dfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// errorcheck

// 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.

// Don't crash while reporting the error.

package p

func _() {
	type T = T // ERROR "T uses T|invalid recursive type T"
}