2010-06-23 23:03:09 -05:00
|
|
|
// -*- rust -*-
|
|
|
|
|
2010-09-09 17:59:29 -05:00
|
|
|
tag mlist {
|
|
|
|
cons(int,mutable @mlist);
|
2011-01-21 17:56:42 -06:00
|
|
|
nil;
|
2010-09-09 17:59:29 -05:00
|
|
|
}
|
2010-06-23 23:03:09 -05:00
|
|
|
|
|
|
|
fn main() {
|
2011-01-21 17:56:42 -06:00
|
|
|
cons(10, @cons(11, @cons(12, @nil)));
|
2010-06-23 23:03:09 -05:00
|
|
|
}
|