diff options
| author | Graydon Hoare <[email protected]> | 2010-07-22 17:05:45 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-22 17:05:45 -0700 |
| commit | ede42cf931dc9cb7c7f4c78d7f9521985c2a8e11 (patch) | |
| tree | 0fa2f6e9274f326687bb981172c76897b08c9eab /src/test | |
| parent | Un-XFAIL stuff that started working when pcwalton's new typechecker landed. (diff) | |
| download | rust-ede42cf931dc9cb7c7f4c78d7f9521985c2a8e11.tar.xz rust-ede42cf931dc9cb7c7f4c78d7f9521985c2a8e11.zip | |
A certain incomplete quantity of wrestling with "INIT" statements that don't actually initialize. Should probably rename them to MAKE. Anyway, WIP, but two steps forward (and one back). More later.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/mlist-cycle.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/mlist-cycle.rs b/src/test/run-pass/mlist-cycle.rs index c41cd5f5..09221ea3 100644 --- a/src/test/run-pass/mlist-cycle.rs +++ b/src/test/run-pass/mlist-cycle.rs @@ -6,9 +6,9 @@ type cell = tup(mutable @list); type list = tag(link(@cell), nil()); fn main() { - let @cell first = tup(@nil()); - let @cell second = tup(@link(first)); + let @cell first = @tup(mutable @nil()); + let @cell second = @tup(mutable @link(first)); first._0 = @link(second); std.sys.rustrt.gc(); - let @cell third = tup(@nil()); + let @cell third = @tup(mutable @nil()); } |