Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
panic-runtime
/
auxiliary
/
needs-unwind.rs
blob: d0d20b267d4b3c25245cddf8ec343b456206396b [
file
] [
log
] [
blame
] [
edit
]
//@ 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
();
}