Debian Codegraph @

staticcheck/sa4016/testdata/go1.18/CheckSillyBitwiseOps/generics.go

raw
1 package pkg
2
3 func tpfn[T int](x T) {
4 _ = x & 0 //@ diag(`always equals 0`)
5 }