2013-02-11 21:26:38 -06:00
|
|
|
// Just testing that fail!() type checks in statement or expr
|
2012-12-10 19:22:10 -06:00
|
|
|
|
2013-08-17 10:37:42 -05:00
|
|
|
#[allow(unreachable_code)];
|
|
|
|
|
2012-12-10 19:22:10 -06:00
|
|
|
fn f() {
|
2013-09-29 21:23:57 -05:00
|
|
|
fail2!();
|
2012-12-10 19:22:10 -06:00
|
|
|
|
2013-09-29 21:23:57 -05:00
|
|
|
let _x: int = fail2!();
|
2012-12-10 19:22:10 -06:00
|
|
|
}
|
|
|
|
|
2013-02-01 21:43:17 -06:00
|
|
|
pub fn main() {
|
2012-12-10 19:22:10 -06:00
|
|
|
|
|
|
|
}
|