test for unreproducable KT-1134
This commit is contained in:
@@ -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();
|
createEnvironmentWithFullJdk();
|
||||||
blackBoxFile("classes/selfcreate.kt");
|
blackBoxFile("classes/selfcreate.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testkt1134() throws Exception {
|
||||||
|
blackBoxFile("regressions/kt1134.kt");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user