summaryrefslogtreecommitdiff
path: root/tests/headers/derive-hash-template-def-float.hpp
blob: 2dbe5409e8efab9d2568b939eaf295226f5798bd (plain)
1
2
3
4
5
6
7
8
// bindgen-flags: --with-derive-hash --with-derive-partialord --with-derive-partialeq --with-derive-eq
//
/// Template definition containing a float, which cannot derive hash/eq but can derive partialeq and partialord.
template <typename T>
struct foo {
    T data;
    float b;
};