[Test] Migrate tests for java 15 to regular test infrastructure
This commit is contained in:
committed by
teamcityserver
parent
4f73ebbcbd
commit
c168a561df
@@ -0,0 +1,17 @@
|
||||
// !API_VERSION: 1.5
|
||||
// !LANGUAGE: +JvmRecordSupport
|
||||
// JVM_TARGET: 15
|
||||
// ENABLE_JVM_PREVIEW
|
||||
|
||||
// MODULE: lib
|
||||
// FILE: A.kt
|
||||
@JvmRecord
|
||||
data class MyRecord(val foo: String, val bar: String)
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: B.kt
|
||||
|
||||
fun box(): String {
|
||||
val myRecord = MyRecord("O", "K")
|
||||
return myRecord.foo + myRecord.bar
|
||||
}
|
||||
Reference in New Issue
Block a user