Reorganize codegen tests for old language versions

Put all files under a single "oldLanguageVersions" directory under test
data of each test
This commit is contained in:
Alexander Udalov
2019-10-28 11:38:11 +01:00
parent dcd72b06d8
commit c3729c8189
23 changed files with 354 additions and 302 deletions
@@ -1,11 +0,0 @@
// !LANGUAGE: -ProhibitOperatorMod
// !API_VERSION: 1.0
// TARGET_BACKEND: JVM
// FULL_JDK
import java.math.BigInteger
fun box(): String {
val m = BigInteger.valueOf(-2) % BigInteger.valueOf(3)
return if (m != BigInteger.valueOf(1)) "Fail: BigInteger(-2) mod BigInteger(3) == $m" else "OK"
}