summaryrefslogtreecommitdiff
path: root/tests/headers/win32-thiscall_nightly.hpp
diff options
context:
space:
mode:
authorLiran Ringel <liranringel@gmail.com>2017-10-09 02:38:29 +0200
committerLiran Ringel <liranringel@gmail.com>2017-10-10 01:43:01 +0200
commit9b95ce6a76d32a1c152bd3719d6cf46dd872b630 (patch)
treed3bcd25976112d1284367d7f8b93970fc1ed19c3 /tests/headers/win32-thiscall_nightly.hpp
parent745d60610ec6979368fc240472f7c04a3e04f282 (diff)
Add support for the thiscall ABI
Diffstat (limited to 'tests/headers/win32-thiscall_nightly.hpp')
-rw-r--r--tests/headers/win32-thiscall_nightly.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/headers/win32-thiscall_nightly.hpp b/tests/headers/win32-thiscall_nightly.hpp
new file mode 100644
index 00000000..2c9f2f17
--- /dev/null
+++ b/tests/headers/win32-thiscall_nightly.hpp
@@ -0,0 +1,7 @@
+// bindgen-flags: --rust-target nightly --raw-line '#![cfg(feature = "nightly")]' --raw-line '#![feature(abi_thiscall)]' -- --target=i686-pc-windows-msvc
+
+class Foo {
+ public:
+ void test();
+ int test2(int var);
+};