Add tests for obsolete codegen issues

#KT-8203 Obsolete
 #KT-15950 Obsolete
This commit is contained in:
Alexander Udalov
2019-01-08 19:25:44 +01:00
parent 9a059809bf
commit a9afee77d7
7 changed files with 60 additions and 0 deletions
@@ -0,0 +1,7 @@
class X {
fun g(x: () -> Boolean = { super.equals(this) }) = x()
}
fun box(): String {
return if (X().g()) "OK" else "Fail: false"
}