// -*- rust -*-
type mlist = tag(cons(int,mutable @mlist), nil());
fn main() {
cons(10, cons(11, cons(12, nil())));
}
// -*- rust -*-
type mlist = tag(cons(int,mutable @mlist), nil());
fn main() {
cons(10, @cons(11, @cons(12, @nil())));
}
// -*- rust -*-
tag mlist {
cons(int,mutable @mlist);
nil();
}
fn main() {
cons(10, @cons(11, @cons(12, @nil())));
}
// -*- rust -*-
tag mlist {
cons(int,mutable @mlist);
nil;
}
fn main() {
cons(10, @cons(11, @cons(12, @nil)));
}
// xfail-boot
// xfail-stage0
// -*- rust -*-
tag mlist {
cons(int,mutable @mlist);
nil;
}
fn main() {
cons(10, @cons(11, @cons(12, @nil)));
}
// xfail-boot
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-
tag mlist {
cons(int,mutable @mlist);
nil;
}
fn main() {
cons(10, @cons(11, @cons(12, @nil)));
}
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-
tag mlist {
cons(int,mutable @mlist);
nil;
}
fn main() {
cons(10, @cons(11, @cons(12, @nil)));
}
// -*- rust -*-
tag mlist {
cons(int,mutable @mlist);
nil;
}
fn main() {
cons(10, @cons(11, @cons(12, @nil)));
}
// -*- rust -*-
tag mlist { cons(int, @mlist); nil; }
fn main() { cons(10, @cons(11, @cons(12, @nil))); }
// -*- rust -*-
tag mlist { cons(int, @mlist); nil; }
fn main() { cons(10, @cons(11, @cons(12, @nil))); }
// -*- rust -*-
enum mlist { cons(int, @mlist); nil; }
fn main() { cons(10, @cons(11, @cons(12, @nil))); }
// -*- rust -*-
enum mlist { cons(int, @mlist), nil, }
fn main() { cons(10, @cons(11, @cons(12, @nil))); }
// -*- rust -*-
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
enum mlist { cons(int, @mlist), nil, }
fn main() { cons(10, @cons(11, @cons(12, @nil))); }
// -*- rust -*-
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
enum mlist { cons(int, @mlist), nil, }
pub fn main() { cons(10, @cons(11, @cons(12, @nil))); }
// -*- rust -*-
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[feature(managed_boxes)];
enum mlist { cons(int, @mlist), nil, }
pub fn main() { cons(10, @cons(11, @cons(12, @nil))); }
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[feature(managed_boxes)];
enum mlist { cons(int, @mlist), nil, }
pub fn main() { cons(10, @cons(11, @cons(12, @nil))); }
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(managed_boxes)]
enum mlist { cons(int, @mlist), nil, }
pub fn main() { cons(10, @cons(11, @cons(12, @nil))); }
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(managed_boxes)]
use std::gc::{Gc, GC};
enum mlist { cons(int, Gc<mlist>), nil, }
pub fn main() { cons(10, box(GC) cons(11, box(GC) cons(12, box(GC) nil))); }
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::gc::{Gc, GC};
enum mlist { cons(int, Gc<mlist>), nil, }
pub fn main() { cons(10, box(GC) cons(11, box(GC) cons(12, box(GC) nil))); }