2022-03-19 11:08:20 -05:00
|
|
|
// aux-build:all-item-types.rs
|
|
|
|
|
|
|
|
// This test is to ensure there is no problem on handling foreign functions
|
|
|
|
// coming from a dependency.
|
|
|
|
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
extern crate all_item_types;
|
|
|
|
|
|
|
|
// @has 'foo/fn.foo_ffn.html'
|
2022-09-19 14:17:05 -05:00
|
|
|
// @has - '//*[@class="item-decl"]//code' 'pub unsafe extern "C" fn foo_ffn()'
|
2022-03-19 11:08:20 -05:00
|
|
|
pub use all_item_types::foo_ffn;
|