This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/24186] New: interface and extends does not cause us to reject invalid code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2005 23:53:02 -0000
- Subject: [Bug java/24186] New: interface and extends does not cause us to reject invalid code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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