diff --git a/test/half_float.cpp b/test/half_float.cpp index 289e4f662..6f299a346 100644 --- a/test/half_float.cpp +++ b/test/half_float.cpp @@ -11,6 +11,11 @@ #include +// Make sure it's possible to forward declare Eigen::half +namespace Eigen { +struct half; +} + using Eigen::half; void test_conversion()