summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/expectations/tests/redeclaration.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/expectations/tests/redeclaration.rs')
-rw-r--r--bindgen-tests/tests/expectations/tests/redeclaration.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/bindgen-tests/tests/expectations/tests/redeclaration.rs b/bindgen-tests/tests/expectations/tests/redeclaration.rs
new file mode 100644
index 00000000..8a4ff657
--- /dev/null
+++ b/bindgen-tests/tests/expectations/tests/redeclaration.rs
@@ -0,0 +1,10 @@
+#![allow(
+ dead_code,
+ non_snake_case,
+ non_camel_case_types,
+ non_upper_case_globals
+)]
+
+extern "C" {
+ pub fn foo();
+}