diff --git a/src/test/run-pass/duplicate-use.rs b/src/test/run-pass/duplicate-use.rs new file mode 100644 index 00000000000..d7da90a018d --- /dev/null +++ b/src/test/run-pass/duplicate-use.rs @@ -0,0 +1,9 @@ +// xfail-test +extern mod std; + +use list = std::map::chained; +use std::list; + +fn main() { + let _x: list::T = list::mk(); +}