/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/bug515.go
23 строки
392 B
Cuong Manh Le
cmd/compile: restrict //go:notinheap to runtime/internal/sys
02 сен 2022, 09:22
02 сен 2022, 09:22
ec2ea40
Код
Авторство
О чём код?
// 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. // Caused a gofrontend crash. //go:build gccgo package p //go:notinheap type S1 struct{} type S2 struct { r interface{ Read([]byte) (int, error) } s1, s2 []byte p *S1 n uintptr } var V any = S2{}