2012-04-06 01:57:45 -05:00
|
|
|
// aux-build:crateresolve2-1.rs
|
|
|
|
// aux-build:crateresolve2-2.rs
|
|
|
|
// aux-build:crateresolve2-3.rs
|
|
|
|
// error-pattern:using multiple versions of crate `crateresolve2`
|
|
|
|
|
2012-09-11 19:46:20 -05:00
|
|
|
extern mod crateresolve2(vers = "0.1");
|
2012-04-06 01:57:45 -05:00
|
|
|
|
|
|
|
mod m {
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports];
|
2012-09-11 19:46:20 -05:00
|
|
|
extern mod crateresolve2(vers = "0.2");
|
2012-04-06 01:57:45 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let x: int = false;
|
|
|
|
}
|