aboutsummaryrefslogtreecommitdiff
path: root/src/test/bench/shootout/binary-trees.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/bench/shootout/binary-trees.rs')
-rw-r--r--src/test/bench/shootout/binary-trees.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/bench/shootout/binary-trees.rs b/src/test/bench/shootout/binary-trees.rs
index bb3ab602..669cd809 100644
--- a/src/test/bench/shootout/binary-trees.rs
+++ b/src/test/bench/shootout/binary-trees.rs
@@ -1,4 +1,7 @@
-type tree = tag(nil(), node(@tree, @tree, int));
+tag tree {
+ nil();
+ node(@tree, @tree, int);
+}
fn item_check(&tree t) -> int {
alt (t) {