test for unreproducable KT-1134

This commit is contained in:
Alex Tkachman
2012-01-24 18:36:38 +02:00
parent 7359388725
commit 855a0097a0
2 changed files with 11 additions and 0 deletions
@@ -0,0 +1,7 @@
public class SomeClass() : java.lang.Object() {
}
public fun box():String {
System.out?.println(SomeClass().getClass())
return "OK"
}
@@ -253,4 +253,8 @@ public class ClassGenTest extends CodegenTestCase {
createEnvironmentWithFullJdk();
blackBoxFile("classes/selfcreate.kt");
}
public void testkt1134() throws Exception {
blackBoxFile("regressions/kt1134.kt");
}
}