1 // bindgen-flags: --rust-target 1.0 -- --target=x86_64-pc-windows-msvc 2 3 struct CppObj { 4 int x; 5 6 CppObj(int x); 7 ~CppObj(); 8 }; 9 10 struct CppObj2 { 11 int x; 12 13 CppObj2(int x); 14 virtual ~CppObj2(); 15 }; 16 17 struct CppObj3 : CppObj2 { 18 int x; 19 20 CppObj3(int x); 21 virtual ~CppObj3(); 22 }; 23 24 struct CppObj4 : CppObj2 { 25 int x; 26 27 CppObj4(int x); 28 ~CppObj4(); 29 };