Add hashtable test
This commit is contained in:
Generated
+5
@@ -4564,6 +4564,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/collections/inSetWithSmartCast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inheritFromHashtable.kt")
|
||||
public void testInheritFromHashtable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/inheritFromHashtable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("irrelevantImplCharSequence.kt")
|
||||
public void testIrrelevantImplCharSequence() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/irrelevantImplCharSequence.kt");
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// FULL_JDK
|
||||
import java.util.Hashtable
|
||||
|
||||
class A : Hashtable<String, String>()
|
||||
|
||||
fun box(): String {
|
||||
val sz = A().size
|
||||
return "OK"
|
||||
}
|
||||
+5
@@ -4594,6 +4594,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/collections/inSetWithSmartCast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inheritFromHashtable.kt")
|
||||
public void testInheritFromHashtable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/inheritFromHashtable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("irrelevantImplCharSequence.kt")
|
||||
public void testIrrelevantImplCharSequence() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/irrelevantImplCharSequence.kt");
|
||||
|
||||
+5
@@ -4594,6 +4594,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/collections/inSetWithSmartCast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inheritFromHashtable.kt")
|
||||
public void testInheritFromHashtable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/inheritFromHashtable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("irrelevantImplCharSequence.kt")
|
||||
public void testIrrelevantImplCharSequence() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/irrelevantImplCharSequence.kt");
|
||||
|
||||
+5
@@ -4564,6 +4564,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/collections/inSetWithSmartCast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inheritFromHashtable.kt")
|
||||
public void testInheritFromHashtable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/inheritFromHashtable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("irrelevantImplCharSequence.kt")
|
||||
public void testIrrelevantImplCharSequence() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/irrelevantImplCharSequence.kt");
|
||||
|
||||
Reference in New Issue
Block a user