Add test for obsolete issue
#KT-3311 Obsolete
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// FILE: Super.java
|
||||
public class Super {
|
||||
public boolean foo;
|
||||
public boolean bar;
|
||||
|
||||
public void setFoo(boolean foo) {
|
||||
this.foo = foo;
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
public class Sub: Super() {
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val x = Sub()
|
||||
x.foo = true
|
||||
x.bar = true
|
||||
}
|
||||
@@ -5012,6 +5012,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest("compiler/testData/diagnostics/tests/j+k/kt3307.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3311.kt")
|
||||
public void testKt3311() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/j+k/kt3311.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mutableIterator.kt")
|
||||
public void testMutableIterator() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/j+k/mutableIterator.kt");
|
||||
|
||||
Reference in New Issue
Block a user