- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for InterImpl (0.07 sec)
-
src/runtime/race/testdata/mop_test.go
Foo(x int) } type InterImpl struct { x, y int } //go:noinline func (p InterImpl) Foo(x int) { } type InterImpl2 InterImpl func (p *InterImpl2) Foo(x int) { if p == nil { InterImpl{}.Foo(x) } InterImpl(*p).Foo(x) } func TestRaceInterCall(t *testing.T) { c := make(chan bool, 1) p := InterImpl{} var x Inter = p go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 23 16:46:25 UTC 2023 - 28.9K bytes - Viewed (0)