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;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has 'foo/fn.foo_ffn.html'
|
|
|
|
//@ 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;
|