[FIR JS] Prepare the test data for FIR
This commit is contained in:
committed by
Space Team
parent
0e38d0ebd2
commit
73c89a5d9d
+46
@@ -0,0 +1,46 @@
|
||||
// !OPT_IN: kotlin.js.ExperimentalJsExport
|
||||
// !RENDER_DIAGNOSTICS_MESSAGES
|
||||
|
||||
package foo
|
||||
|
||||
@JsExport
|
||||
fun delete() {}
|
||||
|
||||
@JsExport
|
||||
val instanceof = 4
|
||||
|
||||
@JsExport
|
||||
class eval
|
||||
|
||||
@JsExport
|
||||
@JsName("await")
|
||||
fun foo() {}
|
||||
|
||||
@JsExport
|
||||
@JsName("this")
|
||||
val bar = 4
|
||||
|
||||
@JsExport
|
||||
@JsName("super")
|
||||
class Baz
|
||||
|
||||
@JsExport
|
||||
@JsName("default")
|
||||
class DefDef
|
||||
|
||||
@JsExport
|
||||
class Test {
|
||||
fun instanceof() {}
|
||||
|
||||
@JsName("eval")
|
||||
fun test() {}
|
||||
}
|
||||
|
||||
@JsExport
|
||||
object NaN
|
||||
|
||||
@JsExport
|
||||
enum class Nums {
|
||||
Infinity,
|
||||
undefined
|
||||
}
|
||||
Reference in New Issue
Block a user