]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/keyword-changes-2012-07-31.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / keyword-changes-2012-07-31.rs
index 7a8c3cdaa399d96b6215dc32cfa7b5a2774648ca..885f266ca3d95e9f0544ce5467d06770fdd5b2dc 100644 (file)
 // mod -> module
 // match -> match
 
-fn main() {
+pub fn main() {
 }
 
 mod foo {
 }
 
 fn bar() -> int {
-    match 0 {
-      _ => { 0 }
+    match 0i {
+      _ => { 0i }
     }
 }