Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust-bindgen
/
refs/tags/0.16
/
.
/
tests
/
test_extern.rs
blob: c39e8a590c5ed100c38b111e7bc4b2c105c14a7c [
file
] [
log
] [
blame
]
use
support
::
assert_bind_eq
;
#[
test
]
fn
extern_c_in_hpp
()
{
assert_bind_eq
(
"headers/extern.hpp"
,
"
pub
type
foo
=
extern
\"C\"
fn
(
bar
:
::
std
::
os
::
raw
::
c_int
)
->
::
std
::
os
::
raw
::
c_int
;
");
}