]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/integer-literal-suffix-inference.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / integer-literal-suffix-inference.rs
index e2ad9dccf67a1ce1eafd7fee485f97eb14a6807f..542efe334597f83c682dd07f85126dce2f9f75ba 100644 (file)
@@ -1,4 +1,14 @@
-fn main() {
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+pub fn main() {
     fn id_i8(n: i8) -> i8 { n }
     fn id_i16(n: i16) -> i16 { n }
     fn id_i32(n: i32) -> i32 { n }