[Bug c++/42563] New: internal compiler error in is_ancestor, at cp/name-lookup.c

2009-12-30 Thread thomasd57 at yahoo dot com
Here is the testcase: template struct A { A() {} }; struct B { B() {} Afoo(); }; template AT::foo() { return A(); } template class A; And the command line: > g++ -c test.cc -Wall test.cc:13: internal compiler error: in is_ancestor, at cp/name-lookup.c:2236 Please submit

<    1   2