[JS TESTS] Move dependency modules higher than main in test files
This commit is contained in:
+7
-7
@@ -1,5 +1,12 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// EXPECTED_REACHABLE_NODES: 1285
|
||||
// MODULE: module1
|
||||
// FILE: module1.kt
|
||||
|
||||
public fun f(s: String): String = "${s}: invoked from module"
|
||||
|
||||
public class A(val x: Int)
|
||||
|
||||
// MODULE: main(module1)
|
||||
// FILE: main.kt
|
||||
|
||||
@@ -10,10 +17,3 @@ fun box(): String {
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// MODULE: module1
|
||||
// FILE: module1.kt
|
||||
|
||||
public fun f(s: String): String = "${s}: invoked from module"
|
||||
|
||||
public class A(val x: Int)
|
||||
Reference in New Issue
Block a user