diff options
| author | Steven Fackler <sfackler@gmail.com> | 2014-02-10 19:45:28 -0800 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2014-02-10 20:10:17 -0800 |
| commit | ccd1cda10eaa570e67d8daccfcb3e0e3b651da2d (patch) | |
| tree | d10d59d520c49c7412f992357816def6a9757912 /src/test | |
| parent | 47ab5d2d42aaf9e04afe6cc5aa84446e523d83ff (diff) | |
Ignore #[phase] on use view items
Closes #11806
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/phase-use-ignored.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/run-pass/phase-use-ignored.rs b/src/test/run-pass/phase-use-ignored.rs new file mode 100644 index 00000000000..6819ab347b0 --- /dev/null +++ b/src/test/run-pass/phase-use-ignored.rs @@ -0,0 +1,19 @@ +// Copyright 2014 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. + +//xfail-fast + +#[feature(phase)]; + +#[phase(syntax)] +use std::mem; + +fn main() {} + |
