Debian Codegraph @

staticcheck/sa4032/testdata/go1.0/CheckGOOSComparison/other.go

raw
1 //go:build !(linux || windows || unix)
2
3 package pkg
4
5 import "runtime"
6
7 func other() {
8 if runtime.GOOS == "linux" { //@ diag(`runtime.GOOS will never equal "linux"`)
9 }
10 }