Sign in
fuchsia
/
third_party
/
rust
/
c38f75c21f016bffbf841ed5abce338f94201bde
/
.
/
tests
/
ui
/
consts
/
unwind-abort.rs
blob: 35db9152bd551b6aa1229df9ab064a554dc80901 [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
c_unwind
,
const_extern_fn
)]
// We don't unwind in const-eval anyways.
const
extern
"C"
fn
foo
()
{
panic
!()
}
const
fn
bar
()
{
foo
();
}
fn
main
()
{
bar
();
}