mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Mark frontend errors as expected in ImposibleInterfaceNilCheck.
This commit is contained in:
@@ -2,6 +2,8 @@ package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
// codeql test: expect frontend errors
|
||||
|
||||
func errtest() {
|
||||
x := unknownFunction()
|
||||
var y interface{} = x
|
||||
|
||||
Reference in New Issue
Block a user