[Test] Generated FIR codegen tests on modern jdk
This commit is contained in:
committed by
TeamCityServer
parent
63d841247c
commit
8fd2474b9e
+1
@@ -1,5 +1,6 @@
|
||||
// !API_VERSION: 1.5
|
||||
// !LANGUAGE: +JvmRecordSupport
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// ENABLE_JVM_PREVIEW
|
||||
// FILE: JavaClass.java
|
||||
public class JavaClass {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// !API_VERSION: 1.5
|
||||
// !LANGUAGE: +JvmRecordSupport
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// ENABLE_JVM_PREVIEW
|
||||
|
||||
// FILE: JavaClass.java
|
||||
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
// !API_VERSION: 1.5
|
||||
// !LANGUAGE: +JvmRecordSupport
|
||||
// ENABLE_JVM_PREVIEW
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// !JVM_DEFAULT_MODE: all-compatibility
|
||||
|
||||
// FILE: JavaClass.java
|
||||
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
// !API_VERSION: 1.5
|
||||
// !LANGUAGE: +JvmRecordSupport
|
||||
// ENABLE_JVM_PREVIEW
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// !JVM_DEFAULT_MODE: enable
|
||||
|
||||
// FILE: JavaClass.java
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// ENABLE_JVM_PREVIEW
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FILE: MyRec.java
|
||||
public record MyRec(String name) implements KI {
|
||||
public String getName() {
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// ENABLE_JVM_PREVIEW
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FILE: MyRec.java
|
||||
public record MyRec(String name) {
|
||||
public String getName() {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// !LANGUAGE: +JvmRecordSupport
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// ENABLE_JVM_PREVIEW
|
||||
// FILE: MyRec.java
|
||||
public record MyRec(String name) {}
|
||||
|
||||
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
// WITH_REFLECT
|
||||
// ATTACH_DEBUGGERp
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// ISSUE: KT-47760
|
||||
|
||||
// FILE: MyRecord.java
|
||||
|
||||
Reference in New Issue
Block a user