about summary refs log tree commit diff
path: root/tests/run-make/rust-lld-by-default/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/rust-lld-by-default/main.rs')
-rw-r--r--tests/run-make/rust-lld-by-default/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-make/rust-lld-by-default/main.rs b/tests/run-make/rust-lld-by-default/main.rs
new file mode 100644
index 00000000000..e9f655fc09e
--- /dev/null
+++ b/tests/run-make/rust-lld-by-default/main.rs
@@ -0,0 +1,5 @@
+// Test linking using `cc` with `rust-lld`, which is on by default on the x86_64-unknown-linux-gnu
+// target.
+// See https://github.com/rust-lang/compiler-team/issues/510 for more info
+
+fn main() {}