Skip to content

Commit 5ff913a

Browse files
xTachyonemilio
authored andcommitted
win destructor test
1 parent 138cdae commit 5ff913a

File tree

2 files changed

+230
-0
lines changed

2 files changed

+230
-0
lines changed

bindgen-tests/tests/expectations/tests/win32-dtors.rs

+201
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
};

0 commit comments

Comments
 (0)