www.digitalmars.com         C & C++   DMDScript  

c++ - Internal error: eh 683

Here is a test-case (compile with -Ae):

template<class T>
struct A
{
  ~A()
  { }

  void g()
  { }
};

void f(A<int> a)
{
  a.g();
}

int main()
{
  A<int> a;
  f(a);

  return 0;
}


bye, Christof

-- 
http://cmeerw.org                                 JID: cmeerw jabber.at
mailto cmeerw at web.de

...and what have you contributed to the Net?
Dec 21 2002