]> git.lizzy.rs Git - rust.git/blob - src/test/ui/keyword-changes-2012-07-31.rs
Rollup merge of #76275 - FedericoPonzi:immutable-write-impl-73836, r=dtolnay
[rust.git] / src / test / ui / keyword-changes-2012-07-31.rs
1 // run-pass
2
3 #![allow(dead_code)]
4 // return -> return
5 // mod -> module
6 // match -> match
7
8 // pretty-expanded FIXME #23616
9
10 pub fn main() {
11 }
12
13 mod foo {
14 }
15
16 fn bar() -> isize {
17     match 0 {
18       _ => { 0 }
19     }
20 }