]> git.proxmox.com Git - rustc.git/blame - src/test/auxiliary/lint_output_format.rs
Imported Upstream version 1.0.0-alpha.2
[rustc.git] / src / test / auxiliary / lint_output_format.rs
CommitLineData
1a4d82fc 1// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
223e47cc
LB
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
1a4d82fc
JJ
11#![crate_name="lint_output_format"]
12#![crate_type = "lib"]
85aaf69f 13#![feature(staged_api)]
1a4d82fc 14#![staged_api]
85aaf69f 15#![unstable(feature = "test_feature")]
223e47cc 16
85aaf69f
SL
17#[stable(feature = "test_feature", since = "1.0.0")]
18#[deprecated(since = "1.0.0")]
1a4d82fc
JJ
19pub fn foo() -> uint {
20 20
223e47cc
LB
21}
22
85aaf69f 23#[unstable(feature = "test_feature")]
1a4d82fc
JJ
24pub fn bar() -> uint {
25 40
223e47cc
LB
26}
27
85aaf69f 28#[unstable(feature = "test_feature")]
1a4d82fc
JJ
29pub fn baz() -> uint {
30 30
223e47cc 31}