]> git.proxmox.com Git - rustc.git/blob - src/test/auxiliary/lint_output_format.rs
1977e2aad285e902350eb498f1c632fdd8748cf2
[rustc.git] / src / test / auxiliary / lint_output_format.rs
1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 #![crate_name="lint_output_format"]
12 #![crate_type = "lib"]
13 #![feature(staged_api)]
14 #![staged_api]
15 #![unstable(feature = "test_feature")]
16
17 #[stable(feature = "test_feature", since = "1.0.0")]
18 #[deprecated(since = "1.0.0")]
19 pub fn foo() -> uint {
20 20
21 }
22
23 #[unstable(feature = "test_feature")]
24 pub fn bar() -> uint {
25 40
26 }
27
28 #[unstable(feature = "test_feature")]
29 pub fn baz() -> uint {
30 30
31 }