aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/expr-alt-generic-box1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/expr-alt-generic-box1.rs b/src/test/run-pass/expr-alt-generic-box1.rs
index 314ae7fd..8ff67f0f 100644
--- a/src/test/run-pass/expr-alt-generic-box1.rs
+++ b/src/test/run-pass/expr-alt-generic-box1.rs
@@ -14,7 +14,7 @@ fn test_generic[T](@T expected, &compare[T] eq) {
fn test_box() {
fn compare_box(@bool b1, @bool b2) -> bool {
- ret *b1 == b2;
+ ret *b1 == *b2;
}
auto eq = bind compare_box(_, _);
test_generic[bool](@true, eq);