b18: g++ internal compiler error with nested template classes

Laurent Bonnaud bonnaud@irisa.fr
Fri Jun 13 16:01:00 GMT 1997


This simple example makes g++ crash:

template <class T>
class A
{
public:
  class B;
};

template <class T>
class A<T>::B
{
public:
  friend class A<T>;
};

-- 
Laurent.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list