mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00
20 lines
230 B
Rust
20 lines
230 B
Rust
//@ run-pass
|
|
|
|
#![allow(unused_must_use)]
|
|
#![allow(unreachable_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() {}
|