aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-01-27 13:49:27 -0800
committerGraydon Hoare <[email protected]>2011-01-27 13:52:02 -0800
commit99106e4029860b3937bf82db5fb3e3dcd651243c (patch)
tree3dd4b05fd89a261d510322fd4f1ae28d20002a32 /src/test
parentUn-XFAIL 3 tests that started working recently. (diff)
downloadrust-99106e4029860b3937bf82db5fb3e3dcd651243c.tar.xz
rust-99106e4029860b3937bf82db5fb3e3dcd651243c.zip
Fix bug in box-unbox.rs test.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/box-unbox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/box-unbox.rs b/src/test/run-pass/box-unbox.rs
index 9c00f55c..d0ad615b 100644
--- a/src/test/run-pass/box-unbox.rs
+++ b/src/test/run-pass/box-unbox.rs
@@ -1,6 +1,6 @@
type box[T] = tup(@T);
-fn unbox[T](box[T] b) -> T { ret *b._0; }
+fn unbox[T](&box[T] b) -> T { ret *b._0; }
fn main() {
let int foo = 17;