rust/src/test/run-pass/mutual-recursion-group.rs

12 lines
223 B
Rust
Raw Normal View History

2010-06-23 23:03:09 -05:00
// -*- rust -*-
type colour = tag(red(), green(), blue());
type tree = tag(children(@list), leaf(colour));
type list = tag(cons(@tree, @list), nil());
type small_list = tag(kons(int,@small_list), neel());
fn main() {
}