diff options
| author | Patrick Walton <[email protected]> | 2011-03-07 15:12:41 -0800 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-03-07 15:12:41 -0800 |
| commit | 3869b3bfe489fc8db37b4436a9a38e732cc3d219 (patch) | |
| tree | adab78a6dd41d253b9c722c7ce8e39b188294f71 | |
| parent | Un-XFAIL 5 more tests that pass lately. (diff) | |
| download | rust-3869b3bfe489fc8db37b4436a9a38e732cc3d219.tar.xz 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 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]))); +} |