blob: 70dfc11fb13e01d3e7cba2d37aad9aba9dc50dea [file] [log] [blame]
// bindgen-flags: --rust-target 1.0 --with-derive-hash --with-derive-partialeq --with-derive-eq
struct nsFoo;
namespace mozilla {
struct FragmentOrURL { bool mIsLocalRef; };
struct Position { };
} // namespace mozilla
class Bar {
nsFoo* mFoo;
};
namespace mozilla {
template<typename ReferenceBox>
struct StyleShapeSource {
union {
Position* mPosition;
FragmentOrURL* mFragmentOrURL;
};
};
} // namespace mozilla
struct nsFoo {
mozilla::StyleShapeSource<int> mBar;
};