/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue54991.go
29 строк
348 B
Cuong Manh Le
cmd/compile/internal/typebits: relax alignment check
19 сен 2022, 16:55
19 сен 2022, 16:55
00bee6d
Код
Авторство
О чём код?
// compile // Copyright 2022 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 import ( "sync/atomic" ) type I interface { M() } type S struct{} func (*S) M() {} type T struct { I x atomic.Int64 } func F() { t := &T{I: &S{}} t.M() }