about summary refs log tree commit diff
path: root/tests/ui/tail-call-arg-leak.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/tail-call-arg-leak.rs')
-rw-r--r--tests/ui/tail-call-arg-leak.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ui/tail-call-arg-leak.rs b/tests/ui/tail-call-arg-leak.rs
deleted file mode 100644
index 234924307c3..00000000000
--- a/tests/ui/tail-call-arg-leak.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-//@ run-pass
-// use of tail calls causes arg slot leaks, issue #160.
-
-fn inner(dummy: String, b: bool) { if b { return inner(dummy, false); } }
-
-pub fn main() {
-    inner("hi".to_string(), true);
-}