blob: c81e22e3d51597529982d62f1e753da62be194e2 [file] [log] [blame]
// LANGUAGE: +ContextParameters
// IGNORE_FIR_METADATA_LOADING_K1
// IGNORE_BACKEND_K1: ANY
package test
import kotlin.contracts.ExperimentalContracts
import kotlin.contracts.contract
context(a: String?)
@OptIn(ExperimentalContracts::class)
fun validate() {
contract {
returns() implies (a!= null)
}
}