2012-04-07 19:11:33 -05:00
|
|
|
|
|
|
|
fn id(x: bool) -> bool { x }
|
|
|
|
|
|
|
|
fn call_id() {
|
2012-10-23 13:11:23 -05:00
|
|
|
let c = move fail;
|
2012-06-30 06:23:59 -05:00
|
|
|
id(c); //~ WARNING unreachable statement
|
2012-04-07 19:11:33 -05:00
|
|
|
}
|
|
|
|
|
2012-08-01 19:30:05 -05:00
|
|
|
fn call_id_3() { id(return) && id(return); }
|
2012-04-07 19:11:33 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|