summaryrefslogtreecommitdiffstats
path: root/tests/incremental/issue-39828/auxiliary/generic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/incremental/issue-39828/auxiliary/generic.rs')
-rw-r--r--tests/incremental/issue-39828/auxiliary/generic.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/incremental/issue-39828/auxiliary/generic.rs b/tests/incremental/issue-39828/auxiliary/generic.rs
new file mode 100644
index 000000000..a5bb0d65f
--- /dev/null
+++ b/tests/incremental/issue-39828/auxiliary/generic.rs
@@ -0,0 +1,8 @@
+// revisions:rpass1 rpass2
+// compile-flags: -Z query-dep-graph
+
+#![rustc_partition_reused(module="generic-fallback.cgu", cfg="rpass2")]
+#![feature(rustc_attrs)]
+
+#![crate_type="rlib"]
+pub fn foo<T>() { }