Use 'JVM_TARGET: 1.8' directive in codegen tests on 1.8 target

This commit is contained in:
Alexander Udalov
2016-06-15 17:23:38 +03:00
parent ac03d98cb2
commit b4f81d4bb5
18 changed files with 55 additions and 35 deletions
@@ -1,4 +1,5 @@
// KOTLIN_CONFIGURATION_FLAGS: +JVM.JVM_8_TARGET
// JVM_TARGET: 1.8
interface Test<T> {
fun test(p: T): T {
return p
@@ -21,4 +22,3 @@ fun <T> execute(t: Test<T>, p: T): T {
fun box(): String {
return execute(TestClass(), "O")
}