Sign in
android
/
toolchain
/
rustc
/
cd1aefd586783f162dd848e314bd6991a5ffe033
/
.
/
tests
/
ui
/
panic-runtime
/
auxiliary
/
needs-unwind.rs
blob: ba917b52d9a98c5a3752c4ffb9a80766a3de8cd8 [
file
] [
log
] [
blame
]
// compile-flags:-C panic=unwind
// no-prefer-dynamic
#![
crate_type
=
"rlib"
]
#![
no_std
]
extern
"C-unwind"
fn
foo
()
{}
fn
bar
()
{
let
ptr
:
extern
"C-unwind"
fn
()
=
foo
;
ptr
();
}