diff options
Diffstat (limited to 'bindgen-tests/tests/expectations/tests/wrap-static-fns.rs')
-rw-r--r-- | bindgen-tests/tests/expectations/tests/wrap-static-fns.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bindgen-tests/tests/expectations/tests/wrap-static-fns.rs b/bindgen-tests/tests/expectations/tests/wrap-static-fns.rs index 54ed9fd4..fbfdcb13 100644 --- a/bindgen-tests/tests/expectations/tests/wrap-static-fns.rs +++ b/bindgen-tests/tests/expectations/tests/wrap-static-fns.rs @@ -50,3 +50,9 @@ extern "C" { arg: *const *const ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } +pub const foo_BAR: foo = 0; +pub type foo = ::std::os::raw::c_uint; +extern "C" { + #[link_name = "\u{1}takes_enum__extern"] + pub fn takes_enum(f: foo) -> foo; +} |