2012-04-07 19:11:33 -05:00
|
|
|
// xfail-pretty
|
|
|
|
|
|
|
|
fn id(x: bool) -> bool { x }
|
|
|
|
|
|
|
|
fn call_id() {
|
|
|
|
let c <- 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() {
|
|
|
|
}
|