Regression test for kt3315
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
trait B<T> {
|
||||||
|
fun foo(dd: T): T = dd
|
||||||
|
}
|
||||||
|
|
||||||
|
class A: B<Int>
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
val a = A()
|
||||||
|
return "OK"
|
||||||
|
}
|
||||||
@@ -3408,6 +3408,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
doTest("compiler/testData/codegen/box/traits/kt2963.kt");
|
doTest("compiler/testData/codegen/box/traits/kt2963.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt3315.kt")
|
||||||
|
public void testKt3315() throws Exception {
|
||||||
|
doTest("compiler/testData/codegen/box/traits/kt3315.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt3413.kt")
|
@TestMetadata("kt3413.kt")
|
||||||
public void testKt3413() throws Exception {
|
public void testKt3413() throws Exception {
|
||||||
doTest("compiler/testData/codegen/box/traits/kt3413.kt");
|
doTest("compiler/testData/codegen/box/traits/kt3413.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user