github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/compile/internal/test/race.go (about) 1 // Copyright 2022 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 //go:build !compiler_bootstrap 6 7 package test 8 9 // Issue 55357: data race when building multiple instantiations of 10 // generic closures with _ parameters. 11 func Issue55357() 12 13 type T55357[T any] struct{} 14 15 func (q *T55357[T]) Count() (n int, rerr error) 16 17 func (q *T55357[T]) List() (list []T, rerr error)