summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-19102.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-19102.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-19102.rs b/src/test/ui/issues/issue-19102.rs
new file mode 100644
index 000000000..1f32d10b6
--- /dev/null
+++ b/src/test/ui/issues/issue-19102.rs
@@ -0,0 +1,12 @@
+// check-pass
+#![allow(unused_imports)]
+#![deny(unused_qualifications)]
+
+use self::A::B;
+
+#[derive(PartialEq)]
+pub enum A {
+ B,
+}
+
+fn main() {}