summaryrefslogtreecommitdiff
path: root/tests/headers/derive-hash-struct-with-anon-struct-float.h
blob: 2b76cd237103a535b1d1d9bd5135d3be3421949e (plain)
1
2
3
4
5
6
7
8
9
// bindgen-flags: --with-derive-hash
//
/// A struct containing a struct containing a float that cannot derive hash.
struct foo {
    struct {
        float a;
        float b;
    } bar;
};