Source file src/internal/types/testdata/fixedbugs/issue77382.go
1 // Copyright 2026 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package p 6 7 import "unsafe" 8 9 type T1[T any] [42]T2[T] 10 11 type T2[T any] [42]T 12 13 func _[T any]() { 14 _ = unsafe.Sizeof(T1[T]{}) 15 } 16