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
|
|
|
|
|
|
|
fn f() {
|
2013-02-11 21:26:38 -06:00
|
|
|
fail!();
|
2012-12-10 19:22:10 -06:00
|
|
|
|
2013-02-11 21:26:38 -06:00
|
|
|
let x: int = fail!();
|
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
|
|
|
|
|
|
|
}
|