[FIR JS] Prepare the test data for FIR
This commit is contained in:
committed by
Space Team
parent
0e38d0ebd2
commit
73c89a5d9d
+22
@@ -0,0 +1,22 @@
|
||||
// !OPT_IN: kotlin.js.ExperimentalJsExport
|
||||
|
||||
package foo
|
||||
|
||||
class C1 {
|
||||
@JsExport
|
||||
fun f1() {}
|
||||
|
||||
@JsExport
|
||||
val p: Int = 10
|
||||
|
||||
@JsExport
|
||||
object O
|
||||
}
|
||||
|
||||
fun f2() {
|
||||
@JsExport
|
||||
fun f3() {}
|
||||
|
||||
@JsExport
|
||||
class C2
|
||||
}
|
||||
Reference in New Issue
Block a user