summaryrefslogtreecommitdiff
path: root/tests/headers/mangling-linux64.hpp
diff options
context:
space:
mode:
authorXidorn Quan <me@upsuper.org>2017-07-18 15:12:32 +1000
committerXidorn Quan <me@upsuper.org>2017-07-18 16:53:34 +1000
commit4f8de62f4585ce40c9b10b3ddc9f9f99b681549b (patch)
treec08b5ab97c0a7bdd3abc256271b883489c1b511c /tests/headers/mangling-linux64.hpp
parent75c587571f38746e98f18f56c29dd7ae8884680c (diff)
Stop Rust from prepending underscore before '?' for win32
Diffstat (limited to 'tests/headers/mangling-linux64.hpp')
-rw-r--r--tests/headers/mangling-linux64.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/headers/mangling-linux64.hpp b/tests/headers/mangling-linux64.hpp
new file mode 100644
index 00000000..36dda913
--- /dev/null
+++ b/tests/headers/mangling-linux64.hpp
@@ -0,0 +1,7 @@
+// bindgen-flags: -- --target=x86_64-unknown-linux
+
+extern "C" void foo();
+
+struct Foo {
+ static bool sBar;
+};