Source file test/fixedbugs/issue74908.go
1 // compile 2 3 // Copyright 2025 The Go Authors. All rights reserved. 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file. 6 7 package main 8 9 type Type struct { 10 any 11 } 12 13 type typeObject struct { 14 e struct{} 15 b *byte 16 } 17 18 func f(b *byte) Type { 19 return Type{ 20 typeObject{ 21 b: b, 22 }, 23 } 24 } 25