> I believe this should compile according to 3.4.3.1. It fails with g++ 2.95.2. > The compiler has no problem if A is not a template or if the call is fully > qualified (i.e., with N::A<int>::foo()). Thanks for your bug report. I've put it into GNATS. Regards, Martin