aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/mlist.rs
blob: c9bdb283c8e353aab40714bc576ebd6ccb8597be (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())));
}