2019-07-27 00:54:25 +03:00
|
|
|
// run-pass
|
|
|
|
|
2018-09-14 12:20:28 +02:00
|
|
|
#![allow(stable_features)]
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-04-14 21:00:31 +05:30
|
|
|
#![allow(unused_imports)]
|
2015-07-29 17:01:14 -07:00
|
|
|
#![feature(start, no_core, core)]
|
|
|
|
#![no_core]
|
2015-01-16 10:55:24 -08:00
|
|
|
|
2014-02-14 10:10:06 -08:00
|
|
|
extern crate std;
|
2015-03-27 10:58:12 -07:00
|
|
|
extern crate std as zed;
|
2010-12-24 17:03:46 -08:00
|
|
|
|
2013-05-20 17:07:24 -07:00
|
|
|
use std::str;
|
2014-08-12 19:25:05 -07:00
|
|
|
use zed::str as x;
|
2015-07-31 22:20:25 -07:00
|
|
|
|
|
|
|
use std::io::{self, Error as IoError, Result as IoResult};
|
|
|
|
use std::error::{self as foo};
|
2010-12-24 17:03:46 -08:00
|
|
|
mod baz {
|
2014-08-12 19:25:05 -07:00
|
|
|
pub use std::str as x;
|
2010-12-24 17:03:46 -08:00
|
|
|
}
|
|
|
|
|
2013-12-13 21:14:08 -08:00
|
|
|
#[start]
|
2015-03-25 17:06:52 -07:00
|
|
|
pub fn start(_: isize, _: *const *const u8) -> isize { 0 }
|