blob: dc6d216f8d9baeaf85b80a24adb5993c3f3b9851 [file] [log] [blame] [edit]
//@ run-pass
#![allow(non_camel_case_types)]
#![allow(dead_code)]
//@ pretty-expanded FIXME #23616
enum colour { red, green, blue, }
enum tree { children(Box<list>), leaf(colour), }
enum list { cons(Box<tree>, Box<list>), nil, }
enum small_list { kons(isize, Box<small_list>), neel, }
pub fn main() { }