diff --git a/compiler/testData/codegen/regressions/kt857.jet b/compiler/testData/codegen/regressions/kt857.jet new file mode 100644 index 00000000000..1b8598b8a5b --- /dev/null +++ b/compiler/testData/codegen/regressions/kt857.jet @@ -0,0 +1,7 @@ +namespace container_test + +class Container(var t : T) { + fun getT() : T = t +} + +fun box() = Container("OK").getT() diff --git a/compiler/tests/org/jetbrains/jet/codegen/ClassGenTest.java b/compiler/tests/org/jetbrains/jet/codegen/ClassGenTest.java index 9312dadc793..89b4e450d8a 100644 --- a/compiler/tests/org/jetbrains/jet/codegen/ClassGenTest.java +++ b/compiler/tests/org/jetbrains/jet/codegen/ClassGenTest.java @@ -235,4 +235,8 @@ public class ClassGenTest extends CodegenTestCase { public void testKt707 () throws Exception { blackBoxFile("regressions/kt707.jet"); } + + public void testKt857 () throws Exception { +// blackBoxFile("regressions/kt857.jet"); + } }