2013-02-11 19:26:38 -08:00
|
|
|
// Just testing that fail!() type checks in statement or expr
|
2012-12-10 17:22:10 -08:00
|
|
|
|
|
|
|
fn f() {
|
2013-02-11 19:26:38 -08:00
|
|
|
fail!();
|
2012-12-10 17:22:10 -08:00
|
|
|
|
2013-02-11 19:26:38 -08:00
|
|
|
let x: int = fail!();
|
2012-12-10 17:22:10 -08:00
|
|
|
}
|
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2012-12-10 17:22:10 -08:00
|
|
|
|
|
|
|
}
|