diff options
author | Zhiting Zhu <zhitingz@cs.utexas.edu> | 2017-08-16 21:26:01 -0500 |
---|---|---|
committer | Zhiting Zhu <zhitingz@cs.utexas.edu> | 2017-08-21 16:14:41 -0500 |
commit | ff9d000435b84220d91347592282a76cbf4942e2 (patch) | |
tree | 080cb3c54b572fab3a0e4f7a8c059155a27ff378 /tests/headers/derive-hash-template-def-float.hpp | |
parent | 3fc501f93fa9b5a19f97b7a7a2a3625616af7128 (diff) |
Small tests for derive Eq
Diffstat (limited to 'tests/headers/derive-hash-template-def-float.hpp')
-rw-r--r-- | tests/headers/derive-hash-template-def-float.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/headers/derive-hash-template-def-float.hpp b/tests/headers/derive-hash-template-def-float.hpp index 28885ed1..8c1a14d1 100644 --- a/tests/headers/derive-hash-template-def-float.hpp +++ b/tests/headers/derive-hash-template-def-float.hpp @@ -1,7 +1,7 @@ -// bindgen-flags: --with-derive-hash +// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq // -/// Template definition containing a float, which cannot derive hash. -template<typename T> +/// Template definition containing a float, which cannot derive hash/eq but can derive partialeq. +template <typename T> struct foo { T data; float b; |