summaryrefslogtreecommitdiffstats
path: root/tests/run-make/dump-ice-to-disk/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/dump-ice-to-disk/src/lib.rs')
-rw-r--r--tests/run-make/dump-ice-to-disk/src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run-make/dump-ice-to-disk/src/lib.rs b/tests/run-make/dump-ice-to-disk/src/lib.rs
new file mode 100644
index 000000000..b23b7f830
--- /dev/null
+++ b/tests/run-make/dump-ice-to-disk/src/lib.rs
@@ -0,0 +1,7 @@
+fn func(s: &str) {
+ println!("{}", s);
+}
+
+fn main() {
+ func(1);
+}