2018-09-14 12:20:28 +02:00
|
|
|
#![allow(unused_must_use)]
|
|
|
|
#![allow(unreachable_code)]
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2016-08-13 02:41:43 -07:00
|
|
|
#![allow(unused_variables)]
|
2016-08-22 16:51:37 -07:00
|
|
|
#![allow(dead_code)]
|
2012-04-07 17:11:33 -07:00
|
|
|
|
|
|
|
fn id(x: bool) -> bool { x }
|
|
|
|
|
|
|
|
fn call_id() {
|
2014-10-09 15:17:22 -04:00
|
|
|
let c = panic!();
|
2016-08-22 16:51:37 -07:00
|
|
|
id(c);
|
2012-04-07 17:11:33 -07:00
|
|
|
}
|
|
|
|
|
2012-08-01 17:30:05 -07:00
|
|
|
fn call_id_3() { id(return) && id(return); }
|
2012-04-07 17:11:33 -07:00
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2012-04-07 17:11:33 -07:00
|
|
|
}
|