diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-03-07 15:12:41 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-03-07 15:12:41 -0800 |
| commit | 3869b3bfe489fc8db37b4436a9a38e732cc3d219 (patch) | |
| tree | adab78a6dd41d253b9c722c7ce8e39b188294f71 | |
| parent | 7fa8936ece50c5d58edcf3c3166e9570ba6e6197 (diff) | |
| download | rust-3869b3bfe489fc8db37b4436a9a38e732cc3d219.tar.gz rust-3869b3bfe489fc8db37b4436a9a38e732cc3d219.zip | |
Modernize test/run-pass/generic-recursive-tag.rs. Un-XFAIL it in rustboot.
| -rw-r--r-- | src/Makefile | 1 | ||||
| -rw-r--r-- | src/test/run-pass/generic-recursive-tag.rs | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index ac82293216d..a1c13918e3a 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 ad06345bf28..b9596b0da9c 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]))); +} |
