summaryrefslogtreecommitdiffstats
path: root/src/test/incremental/issue-39828/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/incremental/issue-39828/auxiliary')
-rw-r--r--src/test/incremental/issue-39828/auxiliary/generic.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/incremental/issue-39828/auxiliary/generic.rs b/src/test/incremental/issue-39828/auxiliary/generic.rs
new file mode 100644
index 000000000..a5bb0d65f
--- /dev/null
+++ b/src/test/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>() { }