mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
19 lines
231 B
Kotlin
19 lines
231 B
Kotlin
import org.checkerframework.checker.tainting.qual.*
|
|
|
|
class TestCtor {
|
|
|
|
var f: String = ""
|
|
|
|
fun test() {
|
|
f = bar()
|
|
sink(<caret>f)
|
|
}
|
|
|
|
fun bar(): String {
|
|
return "foo"
|
|
}
|
|
|
|
fun sink(s: @Untainted String) {
|
|
|
|
}
|
|
} |