Remove usages of JVM target 1.6 from compiler tests

#KT-45165
This commit is contained in:
Alexander Udalov
2022-04-11 21:48:24 +02:00
parent f134575b86
commit ef6d30dd51
15 changed files with 12 additions and 131 deletions
@@ -0,0 +1,18 @@
@file:CompilerOptions("-jvm-target", "1.8", "-Xabi-stability=unstable")
interface Test {
fun print()
fun printSuper() = println("Hi from super")
}
class TestImpl : Test {
override fun print() = println("Hi from sub")
}
inline fun printRandom() = println("Hi from random")
TestImpl().run {
print()
printSuper()
printRandom()
}