1// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq 2 3#define COMPLEX_TEST(ty_, name_) \ 4 struct Test##name_ { \ 5 ty_ _Complex mMember; \ 6 \ 7 }; \ 8 struct Test##name_##Ptr { \ 9 ty_ _Complex* mMember; \ 10 }; 11 12COMPLEX_TEST(double, Double) 13COMPLEX_TEST(float, Float) 14 15// FIXME: 128-byte-aligned in some machines 16// which we can't support right now in Rust. 17// COMPLEX_TEST(long double, LongDouble) 18