From 373bb12dc69bfd5d8a5a767c148b2899efd8f9df Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Wed, 3 Aug 2016 16:07:31 -0700 Subject: [PATCH] Check that it's possible to forward declare the hlaf type. --- test/half_float.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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()