/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue78262.go
27 строк
379 B
Robert Griesemer
cmd/compile/internal/noder: don't shoot oneself (fix silly mistake)
21 мар 2026, 03:58
21 мар 2026, 03:58
2de90fd
Код
Авторство
О чём код?
// run // 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 main type A struct { a int B } type B struct { b int C } type C struct { c int } func main() { _ = A{a: 1, b: 2} _ = A{a: 1, c: 3} _ = A{a: 1, b: 2, c: 3} // don't panic during compilation }