aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/mlist.rs
blob: ba71aa5837a0d6bbc96d70af7287051b0369ebc4 (plain) (blame)
1
2
3
4
5
6
7
// -*- rust -*-

type mlist = tag(cons(int,mutable @mlist), nil());

fn main() {
  cons(10, cons(11, cons(12, nil())));
}