8 // This test is very sensitive to line-number perturbations!
10 // Test of channels with reflection.
15 ch := make(chan *int, 0)
16 crv := reflect.ValueOf(ch)
17 crv.Send(reflect.ValueOf(&a))
18 print(crv.Interface()) // @types chan *int
19 print(crv.Interface().(chan *int)) // @pointsto makechan@testdata/chanreflect.go:15:12
20 print(<-ch) // @pointsto main.a
24 ch := make(chan *int, 0)
26 crv := reflect.ValueOf(ch)
28 print(r.Interface()) // @types *int
29 print(r.Interface().(*int)) // @pointsto main.b