aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-01-21 15:56:42 -0800
committerGraydon Hoare <[email protected]>2011-01-21 15:56:42 -0800
commitb361b1ee8c29ae15fa8672aec06ee7d7e208a1b4 (patch)
tree9787cfdab08de1fa05fca425ca93b86cb7e05170 /src/test/run-pass
parentFirst cut at translating const items. Support the literal forms at least. Un-... (diff)
downloadrust-b361b1ee8c29ae15fa8672aec06ee7d7e208a1b4.tar.xz
rust-b361b1ee8c29ae15fa8672aec06ee7d7e208a1b4.zip
Un-XFAIL 7 tests that have begun working on rustc lately. Fix one bug in mlist.rs.
Diffstat (limited to 'src/test/run-pass')
-rw-r--r--src/test/run-pass/mlist.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/mlist.rs b/src/test/run-pass/mlist.rs
index 35b1c2db..3754d044 100644
--- a/src/test/run-pass/mlist.rs
+++ b/src/test/run-pass/mlist.rs
@@ -2,9 +2,9 @@
tag mlist {
cons(int,mutable @mlist);
- nil();
+ nil;
}
fn main() {
- cons(10, @cons(11, @cons(12, @nil())));
+ cons(10, @cons(11, @cons(12, @nil)));
}