Add test for obsolete issue
#KT-26345 Obsolete
This commit is contained in:
Generated
+5
@@ -12399,6 +12399,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
|||||||
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt26345.kt")
|
||||||
|
public void testKt26345() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inference/kt26345.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt32429.kt")
|
@TestMetadata("kt32429.kt")
|
||||||
public void testKt32429() throws Exception {
|
public void testKt32429() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
// TARGET_BACKEND: JVM
|
||||||
|
// FULL_JDK
|
||||||
|
// WITH_RUNTIME
|
||||||
|
// JVM_TARGET: 1.8
|
||||||
|
|
||||||
|
import java.util.stream.Collectors
|
||||||
|
import java.util.function.Function
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
val m = listOf("OK", "OK")
|
||||||
|
.stream()
|
||||||
|
.collect(
|
||||||
|
Collectors.groupingBy(
|
||||||
|
Function.identity(),
|
||||||
|
Collectors.counting()
|
||||||
|
)
|
||||||
|
)
|
||||||
|
if (m["OK"] != 2L) return "fail: ${m["OK"]}"
|
||||||
|
return "OK"
|
||||||
|
}
|
||||||
+5
@@ -13624,6 +13624,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt26345.kt")
|
||||||
|
public void testKt26345() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inference/kt26345.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt32429.kt")
|
@TestMetadata("kt32429.kt")
|
||||||
public void testKt32429() throws Exception {
|
public void testKt32429() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
||||||
|
|||||||
+5
@@ -13624,6 +13624,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
|||||||
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt26345.kt")
|
||||||
|
public void testKt26345() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inference/kt26345.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt32429.kt")
|
@TestMetadata("kt32429.kt")
|
||||||
public void testKt32429() throws Exception {
|
public void testKt32429() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
||||||
|
|||||||
+5
@@ -12399,6 +12399,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
|||||||
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
runTest("compiler/testData/codegen/box/inference/kt10822.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt26345.kt")
|
||||||
|
public void testKt26345() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inference/kt26345.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt32429.kt")
|
@TestMetadata("kt32429.kt")
|
||||||
public void testKt32429() throws Exception {
|
public void testKt32429() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
runTest("compiler/testData/codegen/box/inference/kt32429.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user