• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // bindgen-flags: --rust-target 1.0 --with-derive-hash --with-derive-partialeq --with-derive-eq
2 
3 template<typename T>
4 struct NastyStruct {
5   bool mIsSome;
6   union {
7     void* mFoo;
8     unsigned long mDummy;
9   } mStorage;
10 
11   union {
12     short wat;
13     int* wut;
14   };
15 };
16 
17 template<typename T>
18 union Whatever {
19   void* mTPtr;
20   int mInt;
21 };
22