summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/extern-with-ambiguous-2.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/imports/extern-with-ambiguous-2.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/ui/imports/extern-with-ambiguous-2.rs b/tests/ui/imports/extern-with-ambiguous-2.rs
new file mode 100644
index 000000000..68c623c1c
--- /dev/null
+++ b/tests/ui/imports/extern-with-ambiguous-2.rs
@@ -0,0 +1,16 @@
+// check-pass
+// edition: 2021
+// aux-build: extern-with-ambiguous-2-extern.rs
+
+extern crate extern_with_ambiguous_2_extern;
+
+mod s {
+ pub mod error {
+ use extern_with_ambiguous_2_extern::*;
+ }
+}
+use s::*;
+use extern_with_ambiguous_2_extern::*;
+use error::*;
+
+fn main() {}