tests: Force instantiation of extern fns.
This commit is contained in:
parent
200d001784
commit
cf0ea786ff
@ -22,3 +22,8 @@ extern {
|
||||
#[unwind]
|
||||
fn unwinding_extern_fn();
|
||||
}
|
||||
|
||||
pub unsafe fn force_declare() {
|
||||
extern_fn();
|
||||
unwinding_extern_fn();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user