Added test for KT-4827 UOE at PackageType.throwException()

#KT-4827 obsolete
 #EA-53605 obsolete
This commit is contained in:
Evgeny Gerashchenko
2014-07-08 11:18:51 +04:00
parent 8842bb574c
commit 86d2565700
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,16 @@
// KT-4827 UOE at PackageType.throwException()
// EA-53605
public trait TestInterface {
}
class C {
inner class I {
}
}
fun f() {
<!NO_CLASS_OBJECT, FUNCTION_EXPECTED!>TestInterface<!>()
C.<!UNRESOLVED_REFERENCE!>I<!>()
}
@@ -6734,6 +6734,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest("compiler/testData/diagnostics/tests/regressions/kt469.kt");
}
@TestMetadata("kt4827.kt")
public void testKt4827() throws Exception {
doTest("compiler/testData/diagnostics/tests/regressions/kt4827.kt");
}
@TestMetadata("kt498.kt")
public void testKt498() throws Exception {
doTest("compiler/testData/diagnostics/tests/regressions/kt498.kt");