Source file test/fixedbugs/issue65957.dir/main.go
1 // Copyright 2024 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package main 6 7 import ( 8 "./a" 9 "reflect" 10 ) 11 12 var s = []rune{0, 1, 2, 3} 13 14 func main() { 15 m := map[any]int{} 16 k := reflect.New(reflect.ArrayOf(4, reflect.TypeOf(int32(0)))).Elem().Interface() 17 m[k] = 1 18 a.F() 19 } 20