Disable an expected warning in unit test
diff --git a/test/AnnoyingScalar.h b/test/AnnoyingScalar.h
index 2b6544a..889e6cc 100644
--- a/test/AnnoyingScalar.h
+++ b/test/AnnoyingScalar.h
@@ -12,6 +12,10 @@
 
 #include <ostream>
 
+#if EIGEN_COMP_GNUC
+#pragma GCC diagnostic ignored "-Wshadow"
+#endif
+
 #ifndef EIGEN_TEST_ANNOYING_SCALAR_DONT_THROW
 struct my_exception
 {