Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
panic-runtime
/
auxiliary
/
needs-unwind.rs
blob: d0d20b267d4b3c25245cddf8ec343b456206396b [
file
]
//@ 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
();
}