summary refs log tree commit diff
path: root/tests/run-make/strip/hello.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/strip/hello.rs')
-rw-r--r--tests/run-make/strip/hello.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run-make/strip/hello.rs b/tests/run-make/strip/hello.rs
new file mode 100644
index 00000000000..2dc0376650b
--- /dev/null
+++ b/tests/run-make/strip/hello.rs
@@ -0,0 +1,8 @@
+fn main() {
+    hey_i_get_compiled();
+}
+
+#[inline(never)]
+fn hey_i_get_compiled() {
+    println!("Hi! Do or do not strip me, your choice.");
+}