Add test methods and data base on raw fir builder test data

This commit is contained in:
Ivan Cilcic
2019-08-15 00:45:00 +03:00
committed by Mikhail Glukhikh
parent fd8205e317
commit 8047aa22a4
50 changed files with 1664 additions and 0 deletions
@@ -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
}