2022-02-12 15:16:51 -07:00
|
|
|
// 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.
|
|
|
|
|
2022-08-07 12:10:18 -06:00
|
|
|
//go:build gccgo
|
|
|
|
|
2022-02-12 15:16:51 -07:00
|
|
|
package p
|
|
|
|
|
|
|
|
//go:notinheap
|
|
|
|
type S1 struct{}
|
|
|
|
|
|
|
|
type S2 struct {
|
2022-08-07 12:10:18 -06:00
|
|
|
r interface{ Read([]byte) (int, error) }
|
2022-02-12 15:16:51 -07:00
|
|
|
s1, s2 []byte
|
2022-08-07 12:10:18 -06:00
|
|
|
p *S1
|
|
|
|
n uintptr
|
2022-02-12 15:16:51 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
var V any = S2{}
|