diff options
author | Justin Smith <justsmth@amazon.com> | 2022-10-06 13:30:17 -0400 |
---|---|---|
committer | Justin Smith <justsmth@amazon.com> | 2022-10-06 13:30:17 -0400 |
commit | c1d8cfb5528e3e7d061ae7574195664bc71b5004 (patch) | |
tree | f26aa7dbe22fe9ed3b884fb3d4620b44b5138be0 /bindgen-tests/tests/headers/derive-hash-struct-with-anon-struct-float.h | |
parent | 5209ebdbdfbe0663824d2abb688ac30c2c602726 (diff) | |
parent | 576fd8d424c8248726542b0951c594a9734cd02a (diff) |
Merge branch 'master' into generated_name_override
Diffstat (limited to 'bindgen-tests/tests/headers/derive-hash-struct-with-anon-struct-float.h')
-rw-r--r-- | bindgen-tests/tests/headers/derive-hash-struct-with-anon-struct-float.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/derive-hash-struct-with-anon-struct-float.h b/bindgen-tests/tests/headers/derive-hash-struct-with-anon-struct-float.h new file mode 100644 index 00000000..dc6e7329 --- /dev/null +++ b/bindgen-tests/tests/headers/derive-hash-struct-with-anon-struct-float.h @@ -0,0 +1,9 @@ +// bindgen-flags: --with-derive-hash --with-derive-partialord --with-derive-ord --with-derive-partialeq --with-derive-eq +// +/// A struct containing a struct containing a float that cannot derive Hash/Eq/Ord but can derive PartialEq/PartialOrd +struct foo { + struct { + float a; + float b; + } bar; +}; |