diff --git a/dune/istl/test/matrixtest.cc b/dune/istl/test/matrixtest.cc
index 3be694e89dbb89c1e5a1487b6a59c67d78d10258..399e453a6364404042c2f5e2f69e82f196c8ad12 100644
--- a/dune/istl/test/matrixtest.cc
+++ b/dune/istl/test/matrixtest.cc
@@ -15,6 +15,15 @@
 
 using namespace Dune;
 
+// forward decls
+
+template <class MatrixType>
+void testSuperMatrix(MatrixType& matrix);
+template <class MatrixType, class X, class Y>
+void testMatrix(MatrixType& matrix, X& x, Y& y);
+template <class MatrixType, class VectorType>
+void testSolve(const MatrixType& matrix);
+
 template <class MatrixType>
 void testSuperMatrix(MatrixType& matrix)
 {