- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for MyI (0.02 sec)
-
src/runtime/race/testdata/issue12664_test.go
issue12664 = "bye" close(c) }() fmt.Println(issue12664) <-c } type MyI interface { foo() } type MyT int func (MyT) foo() { } var issue12664_2 MyT = 0 func TestRaceIssue12664_2(t *testing.T) { c := make(chan struct{}) go func() { issue12664_2 = 1 close(c) }() func(x MyI) { // Never true, but prevents inlining. if x.(MyT) == -1 { close(c) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 1.1K bytes - Viewed (0)