]> git.proxmox.com Git - rustc.git/blob - src/test/ui/list.rs
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / list.rs
1 // run-pass
2
3 #![allow(non_camel_case_types)]
4 // pretty-expanded FIXME #23616
5
6 #![feature(box_syntax)]
7
8 enum list { cons(isize, Box<list>), nil, }
9
10 pub fn main() { list::cons(10, box list::cons(11, box list::cons(12, box list::nil))); }