summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/ambiguous-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/imports/ambiguous-2.rs')
-rw-r--r--tests/ui/imports/ambiguous-2.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/imports/ambiguous-2.rs b/tests/ui/imports/ambiguous-2.rs
new file mode 100644
index 000000000..7b38f3006
--- /dev/null
+++ b/tests/ui/imports/ambiguous-2.rs
@@ -0,0 +1,9 @@
+// check-pass
+// aux-build: ../ambiguous-1.rs
+// https://github.com/rust-lang/rust/pull/113099#issuecomment-1633574396
+
+extern crate ambiguous_1;
+
+fn main() {
+ ambiguous_1::id();
+}