rust/src/test/compile-fail/crateresolve2.rs
Brian Anderson 9c88e5ef5a test: Refactor the crateresolve tests
Keep their aux builds from stomping on each other
2012-04-06 10:58:03 -07:00

15 lines
283 B
Rust

// aux-build:crateresolve2-1.rs
// aux-build:crateresolve2-2.rs
// aux-build:crateresolve2-3.rs
// error-pattern:using multiple versions of crate `crateresolve2`
use crateresolve2(vers = "0.1");
mod m {
use crateresolve2(vers = "0.2");
}
fn main() {
let x: int = false;
}