2014-02-07 20:08:32 +01:00
|
|
|
// ignore-fast
|
2012-12-13 13:05:22 -08:00
|
|
|
|
2014-02-07 20:08:32 +01:00
|
|
|
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
2012-12-10 17:32:48 -08:00
|
|
|
// 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.
|
|
|
|
|
2014-02-07 20:08:32 +01:00
|
|
|
// ignore-fast
|
2013-12-13 21:14:08 -08:00
|
|
|
|
2013-08-17 08:37:42 -07:00
|
|
|
#[allow(unused_imports)];
|
|
|
|
|
2013-05-17 13:12:42 -07:00
|
|
|
#[no_std];
|
2013-05-20 17:07:24 -07:00
|
|
|
extern mod std;
|
2013-12-09 14:56:53 -07:00
|
|
|
extern mod zed = "std";
|
2014-01-20 19:42:50 -08:00
|
|
|
extern mod bar = "std#0.10-pre";
|
2010-12-24 17:03:46 -08:00
|
|
|
|
2011-06-15 11:19:50 -07:00
|
|
|
|
2013-05-20 17:07:24 -07:00
|
|
|
use std::str;
|
2012-09-05 12:32:05 -07:00
|
|
|
use x = zed::str;
|
2010-12-24 17:03:46 -08:00
|
|
|
mod baz {
|
2013-01-30 15:56:40 -08:00
|
|
|
pub use bar::str;
|
2013-05-20 17:07:24 -07:00
|
|
|
pub use x = std::str;
|
2010-12-24 17:03:46 -08:00
|
|
|
}
|
|
|
|
|
2013-12-13 21:14:08 -08:00
|
|
|
#[start]
|
2013-12-18 09:57:58 -08:00
|
|
|
pub fn start(_: int, _: **u8) -> int { 0 }
|