This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error 892
- To: egcs-bugs at cygnus dot com
- Subject: Internal compiler error 892
- From: Vaughn Cato <vcato at bellsouth dot net>
- Date: Wed, 09 Sep 1998 00:21:15 -0400
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);
}