diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-07-17 17:00:51 +0200 |
|---|---|---|
| committer | Tinco Andringa <mail@tinco.nl> | 2018-09-10 12:33:38 +0200 |
| commit | 9478190afc5bbe4bbfe5367673c2f209dddb37e4 (patch) | |
| tree | 8bf4ac5bcf98c661ff2220b1e6bd3021e35ea4ae | |
| parent | e4f47f43a6b2c26a5eef7d4a71379c47a6ea4eaf (diff) | |
| download | rust-9478190afc5bbe4bbfe5367673c2f209dddb37e4.tar.gz rust-9478190afc5bbe4bbfe5367673c2f209dddb37e4.zip | |
Fixed the test to match the compiler's output.
| -rw-r--r-- | src/test/pretty/issue_12590_c.pp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/test/pretty/issue_12590_c.pp b/src/test/pretty/issue_12590_c.pp index 359b55a735a..b4751eb66f6 100644 --- a/src/test/pretty/issue_12590_c.pp +++ b/src/test/pretty/issue_12590_c.pp @@ -1,3 +1,9 @@ +#![feature(prelude_import)] +#![no_std] +#[prelude_import] +use std::prelude::v1::*; +#[macro_use] +extern crate std; // 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. @@ -8,17 +14,15 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// pp-exact:issue_12590_c.pp +// pretty-compare-only // pretty-mode:expanded +// pp-exact:issue_12590_c.pp // The next line should be expanded mod issue_12590_b { - - fn b() { } - - fn main() { } + fn b() { } + fn main() { } } - fn main() { } |
