Source file test/fixedbugs/issue73180.go

     1  // build
     2  
     3  // Copyright 2025 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  package p
     8  
     9  func F(a, b map[float32]int) int {
    10  	var st *struct {
    11  		n int
    12  		f float32
    13  	}
    14  	return a[0] + b[st.f]
    15  }
    16  

View as plain text