mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
16 lines
228 B
Kotlin
16 lines
228 B
Kotlin
class StmtExpr {
|
|
fun test() {
|
|
val t = object : Source {
|
|
override fun a() {
|
|
}
|
|
}
|
|
sink(t) // $ hasValueFlow
|
|
}
|
|
|
|
fun sink(t : Source) {}
|
|
|
|
}
|
|
|
|
interface Source {
|
|
fun a()
|
|
} |