Debian Codegraph @

simple/s1004/testdata/go1.0/CheckBytesCompare/compare.go

raw
1 package pkg
2
3 import "bytes"
4
5 func fn() {
6 _ = bytes.Compare(nil, nil) == 0 //@ diag(` bytes.Equal`)
7 _ = bytes.Compare(nil, nil) != 0 //@ diag(`!bytes.Equal`)
8 _ = bytes.Compare(nil, nil) > 0
9 _ = bytes.Compare(nil, nil) < 0
10 }