// { dg-do assemble } // Bug: g++ fails to compare integer constants properly. template struct Matrix { int base [X] [Y]; }; template Matrix& Mul(Matrix& Q,Matrix& A,Matrix& B) { for(int i=0;i q; Matrix<2, 4> a; Matrix<4, 3> b; q = Mul (q, a, b); }