summaryrefslogtreecommitdiffstats
path: root/tests/incremental/issue-62649-path-collisions-happen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/incremental/issue-62649-path-collisions-happen.rs')
-rw-r--r--tests/incremental/issue-62649-path-collisions-happen.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/incremental/issue-62649-path-collisions-happen.rs b/tests/incremental/issue-62649-path-collisions-happen.rs
new file mode 100644
index 000000000..ee81be76b
--- /dev/null
+++ b/tests/incremental/issue-62649-path-collisions-happen.rs
@@ -0,0 +1,13 @@
+// revisions: rpass1 rpass2
+
+#[cfg(rpass1)]
+pub trait Something {
+ fn foo();
+}
+
+#[cfg(rpass2)]
+pub struct Something {
+ pub foo: u8,
+}
+
+fn main() {}