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