diff options
Diffstat (limited to 'tests/ui/resolve/issue-105069.rs')
-rw-r--r-- | tests/ui/resolve/issue-105069.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/resolve/issue-105069.rs b/tests/ui/resolve/issue-105069.rs new file mode 100644 index 000000000..73455cf77 --- /dev/null +++ b/tests/ui/resolve/issue-105069.rs @@ -0,0 +1,11 @@ +use self::A::*; +use V; //~ ERROR `V` is ambiguous +use self::B::*; +enum A { + V +} +enum B { + V +} + +fn main() {} |