b360d2ada3
test is: 1. compile file A 2. compile file B with binary class A in classpath 3. execute some code from file B
10 lines
159 B
Kotlin
10 lines
159 B
Kotlin
package bbb
|
|
|
|
fun main(args: Array<String>) {
|
|
val h = aaa.hello()
|
|
if (h != 17) {
|
|
throw Exception()
|
|
}
|
|
System.out?.println("It is 17!")
|
|
}
|