/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue77303.go
19 строк
362 B
fumiyanokesinn
cmd/compile/internal/reflectdata: fix divide by zero for zero-size array elements
27 янв 2026, 05:28
27 янв 2026, 05:28
cf0c42c
Код
Авторство
О чём код?
// 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. // Issue 77303: compiler crash on array of zero-size ASPECIAL elements. package p type zeroSizeSpecial struct { _ [0]float64 } var x [3]zeroSizeSpecial func f() bool { return x == x }