Source file test/fixedbugs/issue81771.go
1 // build 2 3 //go:build goexperiment.simd && amd64 4 5 // Copyright 2026 The Go Authors. All rights reserved. 6 // Use of this source code is governed by a BSD-style 7 // license that can be found in the LICENSE file. 8 9 package p 10 11 import "simd/archsimd" 12 13 type S struct { 14 f archsimd.Float32x8 15 } 16 17 type I interface { 18 M(S) rune 19 } 20 21 func f(i I) rune { 22 for range []int{} { 23 _ = i.M(S{(archsimd.Float32x8{})}) 24 } 25 return i.M(S{(archsimd.Float32x8{})}) 26 } 27