aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/leak-box-as-tydesc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/leak-box-as-tydesc.rs')
-rw-r--r--src/test/run-pass/leak-box-as-tydesc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/leak-box-as-tydesc.rs b/src/test/run-pass/leak-box-as-tydesc.rs
index 7da40cfe..efd55d79 100644
--- a/src/test/run-pass/leak-box-as-tydesc.rs
+++ b/src/test/run-pass/leak-box-as-tydesc.rs
@@ -1,7 +1,7 @@
-fn leaky[T](T t) {
+fn leaky[T](&T t) {
}
fn main() {
auto x = @10;
leaky[@int](x);
-} \ No newline at end of file
+}