Sign in
fuchsia
/
third_party
/
rust
/
31f5d69ba4f4d78740190a08ea097b41b00d96cb
/
.
/
src
/
test
/
run-pass
/
unreachable-code-1.rs
blob: ac41377e056e2ce171c22b1b5c0ca97e6fb2cf6e [
file
] [
log
] [
blame
]
#![
allow
(
unused_must_use
)]
#![
allow
(
unreachable_code
)]
#![
allow
(
unused_variables
)]
#![
allow
(
dead_code
)]
fn
id
(
x
:
bool
)
->
bool
{
x
}
fn
call_id
()
{
let
c
=
panic
!();
id
(
c
);
}
fn
call_id_3
()
{
id
(
return
)
&&
id
(
return
);
}
pub
fn
main
()
{
}