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'
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has - '//*[@class="rust 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;
|