aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile1
-rw-r--r--src/test/run-pass/generic-recursive-tag.rs7
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index ac822932..a1c13918 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -410,7 +410,6 @@ TEST_XFAILS_BOOT := $(TASK_XFAILS) \
test/run-pass/vec-slice.rs \
test/run-pass/fn-lval.rs \
test/run-pass/generic-fn-box.rs \
- test/run-pass/generic-recursive-tag.rs \
test/run-pass/generic-tup.rs \
test/run-pass/iter-ret.rs \
test/run-pass/lib-io.rs \
diff --git a/src/test/run-pass/generic-recursive-tag.rs b/src/test/run-pass/generic-recursive-tag.rs
index ad06345b..b9596b0d 100644
--- a/src/test/run-pass/generic-recursive-tag.rs
+++ b/src/test/run-pass/generic-recursive-tag.rs
@@ -1,8 +1,9 @@
tag list[T] {
cons(@T, @list[T]);
- nil();
+ nil;
}
fn main() {
- let list[int] a = cons[int](10, cons[int](12, cons[int](13, nil[int]())));
-} \ No newline at end of file
+ let list[int] a = cons[int](@10, @cons[int](@12, @cons[int](@13,
+ @nil[int])));
+}