This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Internal compiler error 892


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);
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]