test for obsolete kt302

This commit is contained in:
svtk
2011-11-24 16:10:23 +04:00
parent 63304cc2cf
commit a9138eebc6
@@ -0,0 +1,13 @@
// KT-302 Report an error when inheriting many implementations of the same member
namespace kt302
trait A {
open fun foo() {}
}
trait B {
open fun foo() {}
}
class <!MANY_IMPL_MEMBER_NOT_IMPLEMENTED!>C<!> : A, B {} //should be error here