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