Internal compiler error 892

Vaughn Cato vcato@bellsouth.net
Tue Sep 8 21:44:00 GMT 1998


g++ -Wall -g    test.C   -o test
test.C:7: Internal compiler error 892.
test.C:7: Please submit a full bug report to `egcs-bugs@cygnus.com'.


test.C
-------
template <class T,int R,int C> class A {
  public:
    void init(const T (&)[R][C]);
};

template <class T,int R,int C> void A<T,R,C>::init(const T (&)[R][C])
{
}

int main()
{
  int v[5][3];
  A<int,5,3> a;
  a.init(v);
}



More information about the Gcc-bugs mailing list