summaryrefslogtreecommitdiffstats
path: root/tests/incremental/issue-79890-imported-crates-changed.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/incremental/issue-79890-imported-crates-changed.rs')
-rw-r--r--tests/incremental/issue-79890-imported-crates-changed.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/incremental/issue-79890-imported-crates-changed.rs b/tests/incremental/issue-79890-imported-crates-changed.rs
new file mode 100644
index 000000000..93daa5ca9
--- /dev/null
+++ b/tests/incremental/issue-79890-imported-crates-changed.rs
@@ -0,0 +1,7 @@
+// aux-build:issue-79890.rs
+// revisions:rpass1 rpass2 rpass3
+// compile-flags:--extern issue_79890 --test
+// edition:2018
+
+// Tests that we don't ICE when the set of imported crates changes
+#[cfg(rpass2)] use issue_79890::MyTrait;