Debian Codegraph @

_test/op8.go

raw symbols SCIP
1 package main
2
3 type I interface {
4 Get() interface{}
5 }
6
7 type T struct{}
8
9 func (T) Get() interface{} {
10 return nil
11 }
12
13 func main() {
14 var i I = T{}
15 var ei interface{}
16
17 println(i != ei)
18 }
19
20 // Output:
21 // true