/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue78297.go
19 строк
342 B
Cuong Manh Le
cmd/compile: fix type reshaping for nested instantiations
01 май 2026, 23:45
01 май 2026, 23:45
b1772ba
Код
Авторство
О чём код?
// compile // Copyright 2026 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 func G[U any]() (u U) { return } //go:noinline func H[U any]() (u U) { return } func F[T ~*[1]byte]() { _ = G[T]()[:] _ = H[T]()[:] } var _ = F[*[1]byte]