diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-08-03 16:07:31 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-08-03 16:07:31 -0700 |
commit | 373bb12dc69bfd5d8a5a767c148b2899efd8f9df (patch) | |
tree | d1794dccec05a5f3ded39f048f156bb04e046f96 /test | |
parent | 17b9a55d98cf9fba419d1b43c8723bcbeb7e58f0 (diff) |
Check that it's possible to forward declare the hlaf type.
Diffstat (limited to 'test')
-rw-r--r-- | test/half_float.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 <Eigen/src/Core/arch/CUDA/Half.h> +// Make sure it's possible to forward declare Eigen::half +namespace Eigen { +struct half; +} + using Eigen::half; void test_conversion() |