mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
10 lines
178 B
Go
10 lines
178 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func errtest() {
|
|
x := unknownFunction()
|
|
var y interface{} = x
|
|
fmt.Println(y == nil) // OK since we don't know the return type of unknownFunction
|
|
}
|