summary refs log tree commit diff
path: root/src/test/run-pass/mutual-recursion-group.rs
blob: 3be87b5a49051ed116c71f184477c7ddf3b7a90e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![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() { }