interface a
{
  void f();
}

class b
{
  void f(){}
}
class d extends b implements a
{
 void f(){}
  static public void main(String args[])
  {
    d eee = new d();
    eee.f();
  }
}


-- 
           Summary: interface and extends does not cause us to reject
                    invalid code
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24186

Reply via email to