Rename *.jet -> *.kt in codegen tests

This commit is contained in:
Alexander Udalov
2013-01-22 21:22:06 +04:00
committed by Alexander Udalov
parent b0aa094cf8
commit 99827d10a8
226 changed files with 193 additions and 193 deletions
@@ -0,0 +1,14 @@
import java.lang.Runtime
fun box() : String {
val processors = Runtime.getRuntime()!!.availableProcessors()
var threadNum = 1
while(threadNum <= 1024) {
System.out?.println(threadNum)
if(threadNum < 2 * processors)
threadNum += 1
else
threadNum *= 2
}
return "OK"
}