- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestRaceFuncVariableWW (0.28 sec)
-
src/runtime/race/testdata/mop_test.go
return x * x } ch := make(chan bool, 1) go func() { f = func(x int) int { return x } ch <- true }() y := f(1) <-ch x := y y = x } func TestRaceFuncVariableWW(t *testing.T) { var f func(x int) int _ = f ch := make(chan bool, 1) go func() { f = func(x int) int { return x } ch <- true }() f = func(x int) int { return x * x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 23 16:46:25 UTC 2023 - 28.9K bytes - Viewed (0)