about summary refs log tree commit diff
path: root/tests/run-make/crate-hash-rustc-version/a.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/crate-hash-rustc-version/a.rs')
-rw-r--r--tests/run-make/crate-hash-rustc-version/a.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-make/crate-hash-rustc-version/a.rs b/tests/run-make/crate-hash-rustc-version/a.rs
new file mode 100644
index 00000000000..d65b5ce8e88
--- /dev/null
+++ b/tests/run-make/crate-hash-rustc-version/a.rs
@@ -0,0 +1,4 @@
+pub fn foo(mut x: String) -> String {
+    x.push_str(", world!");
+    x
+}