about summary refs log tree commit diff
path: root/tests/run-make/export/disambiguator/rmake.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/export/disambiguator/rmake.rs')
-rw-r--r--tests/run-make/export/disambiguator/rmake.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/run-make/export/disambiguator/rmake.rs b/tests/run-make/export/disambiguator/rmake.rs
new file mode 100644
index 00000000000..743db1933fb
--- /dev/null
+++ b/tests/run-make/export/disambiguator/rmake.rs
@@ -0,0 +1,12 @@
+use run_make_support::rustc;
+
+fn main() {
+    rustc()
+        .env("RUSTC_FORCE_RUSTC_VERSION", "1")
+        .input("libr.rs")
+        .run();
+    rustc()
+        .env("RUSTC_FORCE_RUSTC_VERSION", "2")
+        .input("app.rs")
+        .run();
+}