blob: 83e53a4937f9c9ee6d0f660bde04a5d2e690bf95 [file] [log] [blame]
// Copyright 2024 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 "math/big"
// From go.dev/issue/18419
func _(x *big.Float) {
x.form /* ERROR "x.form undefined (cannot refer to unexported field form)" */ ()
}
// From go.dev/issue/31053
func _() {
_ = big.Float{form /* ERROR "cannot refer to unexported field form in struct literal of type big.Float" */ : 0}
}