IR: first smoke test
This commit is contained in:
committed by
Dmitry Petrov
parent
520a3133bc
commit
ad405f26fd
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
fun testFun() {}
|
||||
val testSimpleVal = 1
|
||||
val testValWithGetter: Int get() = 42
|
||||
var testSimpleVar = 2
|
||||
var testVarWithAccessors: Int
|
||||
get() = 42
|
||||
set(v) {}
|
||||
|
||||
// 1 IrFunction public fun testFun
|
||||
// 1 IrProperty public val testSimpleVal
|
||||
// 1 IrProperty public val testValWithGetter
|
||||
// 2 IrPropertyGetter
|
||||
// 1 IrProperty public var testSimpleVar
|
||||
// 1 IrProperty public var testVarWithAccessors
|
||||
// 1 IrPropertyGetter
|
||||
|
||||
// IR_FILE_TXT smoke.txt
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
IrFile /smoke.kt
|
||||
IrFunction public fun testFun(): kotlin.Unit
|
||||
??? IrDummyBody
|
||||
IrProperty public val testSimpleVal: kotlin.Int = 1
|
||||
??? IrDummyBody
|
||||
IrProperty public val testValWithGetter: kotlin.Int
|
||||
IrPropertyGetter public fun <get-testValWithGetter>(): kotlin.Int
|
||||
??? IrDummyBody
|
||||
IrProperty public var testSimpleVar: kotlin.Int
|
||||
??? IrDummyBody
|
||||
IrProperty public var testVarWithAccessors: kotlin.Int
|
||||
IrPropertyGetter public fun <get-testVarWithAccessors>(): kotlin.Int
|
||||
??? IrDummyBody
|
||||
IrPropertySetter public fun <set-testVarWithAccessors>(/*0*/ v: kotlin.Int): kotlin.Unit
|
||||
??? IrDummyBody
|
||||
Reference in New Issue
Block a user