rust/src/test/run-pass/keyword-changes-2012-07-31.rs

16 lines
163 B
Rust
Raw Normal View History

2012-08-01 19:30:05 -05:00
// return -> return
// mod -> module
2012-08-06 14:34:08 -05:00
// match -> match
fn main() {
}
mod foo {
#[legacy_exports];
}
fn bar() -> int {
match 0 {
2012-08-03 21:59:04 -05:00
_ => { 0 }
}
}