/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue74888.go
20 строк
282 B
Keith Randall
cmd/compile: allow multi-field structs to be stored directly in interfaces
14 ноя 2025, 23:37
14 ноя 2025, 23:37
03ed439
Код
Авторство
О чём код?
// compile // Copyright 2025 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 main type P struct { q struct{} p *int } func f(x any) { h(x.(P)) } //go:noinline func h(P) { }