2011-07-08 20:41:37 -05:00
|
|
|
// error-pattern:'swap' is glob-imported from multiple different modules
|
|
|
|
// issue #482
|
|
|
|
|
|
|
|
use std;
|
|
|
|
// expecting swap to be defined in vec
|
|
|
|
import std::vec::*;
|
|
|
|
import alternate_supplier::*;
|
|
|
|
|
|
|
|
mod alternate_supplier {
|
2011-07-27 07:19:39 -05:00
|
|
|
fn swap() { }
|
2011-07-08 20:41:37 -05:00
|
|
|
}
|
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
fn main() { swap() }
|