/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue57309.go
23 строки
292 B
Matthew Dempsky
cmd/compile: desugar OCALLMETH->OCALLFUNC within devirtualization
14 дек 2022, 23:37
14 дек 2022, 23:37
4f8bc62
Код
Авторство
О чём код?
// run // 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 main type I interface { M() } type S struct { } func (*S) M() { } func main() { func() { I(&S{}).M() }() }