[IR] dumpKotlinLike: add testdata for FIR tests
This commit is contained in:
committed by
teamcityserver
parent
d7bd4240e1
commit
c68040753d
Vendored
+39
@@ -0,0 +1,39 @@
|
||||
open class Base {
|
||||
constructor(x: Any) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val x: Any
|
||||
field = x
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
object Host {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
class Derived1 : Base {
|
||||
constructor() /* primary */ {
|
||||
super/*Base*/(x = Host)
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Derived2 : Base {
|
||||
constructor() /* primary */ {
|
||||
super/*Base*/(x = Host)
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user