// IGNORE_BACKEND_K2: WASM // FILE: test.kt fun box() { B() C(1) D() E(1) F() G(1) J() K(1) L() M() N(1) O(1) O(1, "1") } class B() class C(val a: Int) class D { constructor() } class E { constructor(i: Int) } class F { constructor() { val a = 1 } } class G { constructor(i: Int) { val a = 1 } } class J { init { val a = 1 } } class K(val i: Int) { init { val a = 1 } } class L { constructor() { val a = 1 } init { val a = 1 } } class M { constructor(): this(1) { val a = 1 } constructor(i: Int) { } } class N { constructor(i: Int): this() { val a = 1 } constructor() { } } class O(i: T) { constructor(i: Int, j: T): this(j) { } } // EXPECTATIONS JVM_IR // test.kt:5 box // test.kt:20 // test.kt:5 box // test.kt:6 box // test.kt:21 // test.kt:6 box // test.kt:7 box // test.kt:23 // test.kt:7 box // test.kt:8 box // test.kt:26 // test.kt:8 box // test.kt:9 box // test.kt:29 // test.kt:30 // test.kt:31 // test.kt:9 box // test.kt:10 box // test.kt:34 // test.kt:35 // test.kt:36 // test.kt:10 box // test.kt:11 box // test.kt:38 // test.kt:39 // test.kt:40 // test.kt:41 // test.kt:38 // test.kt:11 box // test.kt:12 box // test.kt:43 // test.kt:44 // test.kt:45 // test.kt:46 // test.kt:43 // test.kt:12 box // test.kt:13 box // test.kt:49 // test.kt:53 // test.kt:54 // test.kt:55 // test.kt:50 // test.kt:51 // test.kt:13 box // test.kt:14 box // test.kt:58 // test.kt:62 // test.kt:63 // test.kt:59 // test.kt:60 // test.kt:14 box // test.kt:15 box // test.kt:66 // test.kt:70 // test.kt:71 // test.kt:67 // test.kt:68 // test.kt:15 box // test.kt:16 box // test.kt:73 // test.kt:16 box // test.kt:17 box // test.kt:74 // test.kt:73 // test.kt:75 // test.kt:17 box // test.kt:18 box // EXPECTATIONS JS_IR // test.kt:5 box // test.kt:20 // test.kt:6 box // test.kt:21 // test.kt:21 // test.kt:7 box // test.kt:23 D_init_$Init$ // test.kt:22 D // test.kt:8 box // test.kt:26 E_init_$Init$ // test.kt:25 E // test.kt:9 box // test.kt:29 F_init_$Init$ // test.kt:28 F // test.kt:30 F_init_$Init$ // test.kt:10 box // test.kt:34 G_init_$Init$ // test.kt:33 G // test.kt:35 G_init_$Init$ // test.kt:11 box // test.kt:40 // test.kt:38 // test.kt:12 box // test.kt:43 // test.kt:45 // test.kt:43 // test.kt:13 box // test.kt:49 L_init_$Init$ // test.kt:54 L // test.kt:48 L // test.kt:50 L_init_$Init$ // test.kt:14 box // test.kt:58 M_init_$Init$ // test.kt:62 M_init_$Init$ // test.kt:57 M // test.kt:59 M_init_$Init$ // test.kt:15 box // test.kt:66 N_init_$Init$ // test.kt:70 N_init_$Init$ // test.kt:65 N // test.kt:67 N_init_$Init$ // test.kt:16 box // test.kt:73 // test.kt:17 box // test.kt:74 O_init_$Init$ // test.kt:73 // test.kt:18 box // EXPECTATIONS WASM // test.kt:1 $box // test.kt:5 $box (4, 4, 4) // test.kt:20 $B. // test.kt:6 $box (4, 6, 4, 4) // test.kt:21 $C. (8, 19) // test.kt:7 $box (4, 4, 4) // test.kt:23 $D. (4, 4, 17) // test.kt:24 $D. // test.kt:8 $box (4, 6, 4, 4) // test.kt:26 $E. (4, 4, 23) // test.kt:27 $E. // test.kt:9 $box (4, 4, 4) // test.kt:29 $F. (4, 4) // test.kt:32 $F. // test.kt:30 $F. (16, 8) // test.kt:31 $F. // test.kt:10 $box (4, 6, 4, 4) // test.kt:34 $G. (4, 4) // test.kt:37 $G. // test.kt:35 $G. (16, 8) // test.kt:36 $G. // test.kt:11 $box (4, 4, 4) // test.kt:40 $J. (16, 8) // test.kt:42 $J. // test.kt:12 $box (4, 6, 4, 4) // test.kt:43 $K. // test.kt:45 $K. (16, 8) // test.kt:47 $K. // test.kt:13 $box (4, 4, 4) // test.kt:49 $L. (4, 4) // test.kt:54 $L. (16, 8) // test.kt:56 $L. // test.kt:50 $L. (16, 8) // test.kt:51 $L. // test.kt:14 $box (4, 4, 4) // test.kt:58 $M. (24, 19, 19) // test.kt:62 $M. (4, 4) // test.kt:64 $M. // test.kt:63 $M. // test.kt:59 $M. (16, 8) // test.kt:60 $M. // test.kt:15 $box (4, 6, 4, 4) // test.kt:66 $N. (25, 25) // test.kt:70 $N. (4, 4) // test.kt:72 $N. // test.kt:71 $N. // test.kt:67 $N. (16, 8) // test.kt:68 $N. // test.kt:16 $box (4, 6, 6, 6, 6, 4, 4) // test.kt:76 $O. (1, 1) // test.kt:17 $box (4, 6, 9, 9, 9, 9, 4, 4) // String.kt:141 $kotlin.stringLiteral (17, 28, 17) // Array.kt:59 $kotlin.Array.get (19, 26, 34, 8) // ThrowHelpers.kt:29 $kotlin.wasm.internal.rangeCheck (6, 14, 6, 19, 28, 19, 6, 14, 6, 19, 28, 19) // ThrowHelpers.kt:30 $kotlin.wasm.internal.rangeCheck (1, 1) // Array.kt:60 $kotlin.Array.get (15, 27, 23, 8) // String.kt:142 $kotlin.stringLiteral // String.kt:146 $kotlin.stringLiteral (47, 61, 16, 4) // String.kt:147 $kotlin.stringLiteral (20, 20, 20, 20, 27, 33, 41, 20, 4) // String.kt:148 $kotlin.stringLiteral (4, 15, 25, 4) // Array.kt:74 $kotlin.Array.set (19, 26, 34, 8) // Array.kt:75 $kotlin.Array.set (8, 20, 27, 16) // Array.kt:76 $kotlin.Array.set // String.kt:149 $kotlin.stringLiteral (11, 4) // test.kt:74 $O. (36, 31, 31) // test.kt:75 $O. // test.kt:18 $box