Regression test for kt3315

This commit is contained in:
Mikhael Bogdanov
2013-04-17 18:55:04 +04:00
parent a024facf95
commit 1fd76845ad
2 changed files with 15 additions and 0 deletions
@@ -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");
}
@TestMetadata("kt3315.kt")
public void testKt3315() throws Exception {
doTest("compiler/testData/codegen/box/traits/kt3315.kt");
}
@TestMetadata("kt3413.kt")
public void testKt3413() throws Exception {
doTest("compiler/testData/codegen/box/traits/kt3413.kt");