From 85a8bec2a5d993bba2533ce5f40cee5c8291a40e Mon Sep 17 00:00:00 2001 From: Ivan Kylchik Date: Thu, 10 Oct 2024 10:58:00 +0200 Subject: [PATCH] [Test] Reproduced KT-71656 #KT-71656 --- ...LFirBlackBoxCodegenBasedTestGenerated.java | 6 +++++ ...rsedBlackBoxCodegenBasedTestGenerated.java | 6 +++++ ...LightTreeBlackBoxCodegenTestGenerated.java | 6 +++++ .../FirPsiBlackBoxCodegenTestGenerated.java | 6 +++++ .../box/valueClasses/uLongInValueClass.kt | 25 +++++++++++++++++++ .../JvmAbiConsistencyTestBoxGenerated.java | 6 +++++ .../IrBlackBoxCodegenTestGenerated.java | 6 +++++ ...kBoxCodegenWithIrInlinerTestGenerated.java | 6 +++++ ...xCodegenTestWithInlineScopesGenerated.java | 6 +++++ .../LightAnalysisModeTestGenerated.java | 5 ++++ .../fir/FirJsCodegenBoxTestGenerated.java | 6 +++++ ...nBoxWithInlinedFunInKlibTestGenerated.java | 6 +++++ .../fir/FirJsES6CodegenBoxTestGenerated.java | 6 +++++ .../test/ir/IrJsCodegenBoxTestGenerated.java | 6 +++++ .../ir/IrJsES6CodegenBoxTestGenerated.java | 6 +++++ ...nBoxWithInlinedFunInKlibTestGenerated.java | 6 +++++ .../FirNativeCodegenBoxTestGenerated.java | 6 +++++ .../FirNativeCodegenBoxTestNoPLGenerated.java | 6 +++++ .../NativeCodegenBoxTestGenerated.java | 6 +++++ .../NativeCodegenBoxTestNoPLGenerated.java | 6 +++++ .../FirWasmJsCodegenBoxTestGenerated.java | 6 +++++ .../test/K1WasmCodegenBoxTestGenerated.java | 6 +++++ 22 files changed, 150 insertions(+) create mode 100644 compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java index c3f408993d7ac..0c2663dbef544 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java @@ -60064,6 +60064,12 @@ public void testTryExpressions() { runTest("compiler/testData/codegen/box/valueClasses/tryExpressions.kt"); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Test @TestMetadata("visibility.kt") public void testVisibility() { diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java index 4fd49e1ccbca8..ddbe5c4687886 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java @@ -60064,6 +60064,12 @@ public void testTryExpressions() { runTest("compiler/testData/codegen/box/valueClasses/tryExpressions.kt"); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Test @TestMetadata("visibility.kt") public void testVisibility() { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java index f472dfef979e3..775a812362e6f 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java @@ -59621,6 +59621,12 @@ public void testTryExpressions() { runTest("compiler/testData/codegen/box/valueClasses/tryExpressions.kt"); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Test @TestMetadata("visibility.kt") public void testVisibility() { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java index cde82794ddafd..c33f832de4c79 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java @@ -59685,6 +59685,12 @@ public void testTryExpressions() { runTest("compiler/testData/codegen/box/valueClasses/tryExpressions.kt"); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Test @TestMetadata("visibility.kt") public void testVisibility() { diff --git a/compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt b/compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt new file mode 100644 index 0000000000000..389ea9283b34e --- /dev/null +++ b/compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt @@ -0,0 +1,25 @@ +// LANGUAGE: +MultiPlatformProjects, +ValueClasses +// IGNORE_BACKEND_K1: ANY +// ^^^ ULong is not accessible in common sources +// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6 +// ISSUE: KT-71656 +// WITH_STDLIB + +// MODULE: common +// TARGET_PLATFORM: Common +// FILE: expect.kt + +@kotlin.jvm.JvmInline +value class Color(val value: ULong) { + fun copy(arg: Int = 0): Color = Color(arg.toULong()) + override fun toString(): String = "" +} + +// MODULE: main()()(common) +// FILE: actual.kt + +fun box(): String { + "bla" is ULong + Color(0UL).copy() + return "OK" +} diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java index 2651630cc5a78..3f4bfedd7be74 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java @@ -58669,6 +58669,12 @@ public void testTryExpressions() { runTest("compiler/testData/codegen/box/valueClasses/tryExpressions.kt"); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Test @TestMetadata("visibility.kt") public void testVisibility() { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java index 9fd1cf38a3753..411bc3f22b8bc 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java @@ -58941,6 +58941,12 @@ public void testTryExpressions() { runTest("compiler/testData/codegen/box/valueClasses/tryExpressions.kt"); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Test @TestMetadata("visibility.kt") public void testVisibility() { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java index c8f51407dd6ba..7b43667cf1549 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java @@ -58941,6 +58941,12 @@ public void testTryExpressions() { runTest("compiler/testData/codegen/box/valueClasses/tryExpressions.kt"); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Test @TestMetadata("visibility.kt") public void testVisibility() { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/inlineScopes/FirBlackBoxCodegenTestWithInlineScopesGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/inlineScopes/FirBlackBoxCodegenTestWithInlineScopesGenerated.java index e1d8bc587c292..a337de88f4255 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/inlineScopes/FirBlackBoxCodegenTestWithInlineScopesGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/inlineScopes/FirBlackBoxCodegenTestWithInlineScopesGenerated.java @@ -59621,6 +59621,12 @@ public void testTryExpressions() { runTest("compiler/testData/codegen/box/valueClasses/tryExpressions.kt"); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Test @TestMetadata("visibility.kt") public void testVisibility() { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 5ed0f2a541548..eaa533238ea00 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -47942,6 +47942,11 @@ public void testTryExpressions() { runTest("compiler/testData/codegen/box/valueClasses/tryExpressions.kt"); } + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @TestMetadata("visibility.kt") public void testVisibility() { runTest("compiler/testData/codegen/box/valueClasses/visibility.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java index f18167af650c2..55f21980f3260 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java @@ -42315,6 +42315,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxWithInlinedFunInKlibTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxWithInlinedFunInKlibTestGenerated.java index acb2e49e48ff6..2a7d3fadef435 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxWithInlinedFunInKlibTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxWithInlinedFunInKlibTestGenerated.java @@ -42315,6 +42315,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java index d42a4ca2d834a..a73957ef7e63c 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java @@ -42874,6 +42874,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java index c8ce13c16e649..0f03d4406e4d3 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java @@ -42334,6 +42334,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java index b04d01f2bdd41..b0df3700aa417 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java @@ -42886,6 +42886,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/native/native.tests/klib-ir-inliner/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxWithInlinedFunInKlibTestGenerated.java b/native/native.tests/klib-ir-inliner/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxWithInlinedFunInKlibTestGenerated.java index ad3829885abb1..2c2b7c8c0d482 100644 --- a/native/native.tests/klib-ir-inliner/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxWithInlinedFunInKlibTestGenerated.java +++ b/native/native.tests/klib-ir-inliner/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxWithInlinedFunInKlibTestGenerated.java @@ -46264,6 +46264,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java index 4edbaf97a8907..1db2a5955f4d4 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java @@ -45694,6 +45694,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java index 1295e46b223d6..a7a9bbcaf293a 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java @@ -46836,6 +46836,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java index 069b7eeccc2e0..e7a2d7f3a3b67 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java @@ -44006,6 +44006,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java index 28ac99e348be8..67239a6b4c0d1 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java @@ -45137,6 +45137,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java index 21759135481a0..56ea2b44b97ff 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java @@ -42069,6 +42069,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT") diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java index f9d4098740cc0..20b24e8b936bd 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java @@ -41535,6 +41535,12 @@ public void testAllFilesPresentInValueClasses() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/valueClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); } + @Test + @TestMetadata("uLongInValueClass.kt") + public void testULongInValueClass() { + runTest("compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt"); + } + @Nested @TestMetadata("compiler/testData/codegen/box/valueClasses/javaInterop") @TestDataPath("$PROJECT_ROOT")