tests: Force instantiation of extern fns.

This commit is contained in:
Eduard Burtescu 2016-02-24 11:42:16 +02:00
parent 200d001784
commit cf0ea786ff

View File

@ -22,3 +22,8 @@ extern {
#[unwind]
fn unwinding_extern_fn();
}
pub unsafe fn force_declare() {
extern_fn();
unwinding_extern_fn();
}