about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/pretty/issue_12590_c.pp16
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() { }