2012-12-13 13:05:22 -08:00
|
|
|
// xfail-fast
|
|
|
|
|
2012-12-10 17:32:48 -08:00
|
|
|
// 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.
|
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
|
2012-04-25 15:58:33 -07:00
|
|
|
#[no_core];
|
2012-09-11 17:46:20 -07:00
|
|
|
extern mod core;
|
|
|
|
extern mod zed(name = "core");
|
2012-10-12 16:41:25 -07:00
|
|
|
extern mod bar(name = "core", vers = "0.5");
|
2010-12-24 17:03:46 -08:00
|
|
|
|
2011-06-15 11:19:50 -07:00
|
|
|
|
2012-09-05 12:32:05 -07:00
|
|
|
use core::str;
|
|
|
|
use x = zed::str;
|
2010-12-24 17:03:46 -08:00
|
|
|
mod baz {
|
2012-09-21 18:10:45 -07:00
|
|
|
#[legacy_exports];
|
2012-09-07 18:08:21 -07:00
|
|
|
use bar::str;
|
|
|
|
use x = core::str;
|
2010-12-24 17:03:46 -08:00
|
|
|
}
|
|
|
|
|
2012-12-13 13:05:22 -08:00
|
|
|
fn main() { }
|