aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/mutual-recursion-group.rs
blob: 850858a3b23c556a1f1b74cc131fe0707a262841 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// -*- 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() {
}