rust/src/test/run-pass/mlist.rs

8 lines
125 B
Rust
Raw Normal View History

2010-06-23 23:03:09 -05:00
// -*- rust -*-
type mlist = tag(cons(int,mutable @mlist), nil());
fn main() {
cons(10, @cons(11, @cons(12, @nil())));
2010-06-23 23:03:09 -05:00
}