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

11 lines
115 B
Rust
Raw Normal View History

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