/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue80543.go
18 строк
319 B
Daniel Morsing
cmd/compile/internal/ssa: ensure that we don't create empty ArrayMakes
31 июл 2026, 00:54
31 июл 2026, 00:54
5bac01f
Код
Авторство
О чём код?
// compile -d=ssa/check/on // 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 type S struct { i int a [1]struct{} } func foo(f func(S)) { defer f(func() S { return S{0, [1]struct{}{}} }()) }