Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
panic-runtime
/
auxiliary
/
exit-success-if-unwind.rs
blob: c0e05740542dfaa676956733740fe812f056bf9c [
file
] [
log
] [
blame
]
// no-prefer-dynamic
#![
crate_type
=
"rlib"
]
struct
Bomb
;
impl
Drop
for
Bomb
{
fn
drop
(&
mut
self
)
{
std
::
process
::
exit
(
0
);
}
}
pub
fn
bar
(
f
:
fn
())
{
let
_bomb
=
Bomb
;
f
();
}