/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue78355.go
17 строк
380 B
gulmix
cmd/compile: report error instead of ICE for oversized map element
07 апр 2026, 05:36
07 апр 2026, 05:36
3b5954c
Код
Авторство
О чём код?
// errorcheck // 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. //go:build amd64 || arm64 // Issue 78355: map element or key type too large should not cause ICE. package p type T [1 << 31]byte func F(m map[int]T) { // ERROR "map element type too large" _ = m[0] }