aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue42075.go
blob: af85fb281d80111a47404173259e96c11df6089c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// errorcheck

// Copyright 2020 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

import "unsafe"

type T struct { // ERROR "recursive type"
	x int
	p unsafe.Pointer

	f T
}