Add test methods and data base on raw fir builder test data
This commit is contained in:
committed by
Mikhail Glukhikh
parent
fd8205e317
commit
8047aa22a4
@@ -0,0 +1,28 @@
|
||||
fun test() {
|
||||
// IntArray
|
||||
// │ fun intArrayOf(vararg Int): IntArray
|
||||
// │ │ Int
|
||||
// │ │ │ Int
|
||||
// │ │ │ │ Int
|
||||
// │ │ │ │ │
|
||||
val x = intArrayOf(1, 2, 3)
|
||||
// val test.x: IntArray
|
||||
// │ Int Int
|
||||
// │ │ │
|
||||
x[1] = 0
|
||||
}
|
||||
|
||||
// Int
|
||||
// │
|
||||
fun foo() = 1
|
||||
|
||||
fun test2() {
|
||||
// fun intArrayOf(vararg Int): IntArray
|
||||
// │ Int
|
||||
// │ │ Int
|
||||
// │ │ │ Int
|
||||
// │ │ │ │ fun foo(): Int
|
||||
// │ │ │ │ │ Int
|
||||
// │ │ │ │ │ │
|
||||
intArrayOf(1, 2, 3)[foo()] = 1
|
||||
}
|
||||
Reference in New Issue
Block a user