[Tests] Add CompileKotlinAgainstCustomBinaries test for CR

This commit is contained in:
Anastasia.Shadrina
2022-01-21 16:37:37 +07:00
committed by teamcity
parent a86b4d767e
commit 87b0670bbb
4 changed files with 52 additions and 0 deletions
@@ -0,0 +1,19 @@
package test
context(Int) val p get() = 42
context(Int)
class A {
context(Int) val p get() = 42
context(Int) fun m() {}
}
context(String)
fun f() {
println(this@String)
}
fun ordinary() {
println("I do not require context receivers!")
}