tests: Force instantiation of extern fns.
This commit is contained in:
parent
200d001784
commit
cf0ea786ff
1 changed files with 5 additions and 0 deletions
|
|
@ -22,3 +22,8 @@ extern {
|
|||
#[unwind]
|
||||
fn unwinding_extern_fn();
|
||||
}
|
||||
|
||||
pub unsafe fn force_declare() {
|
||||
extern_fn();
|
||||
unwinding_extern_fn();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue