------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-27 
15:50 -------
Ignore the sources in comment #0, I got the definition wrong.
The following is the way libjava produces the code (now I don't know if this is 
valid or not):
---- source 1 -----
struct a
{
  virtual void g();
  virtual void f();
};
void a::f(){}

int main() { a b; b.f(); b.g(); }

---- cut -----
struct a
{
  virtual void g();
  virtual void f(){}
};
void a::g() {}
----- cut ------


-- 


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

Reply via email to