
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
9 lines
222 B
Rust
9 lines
222 B
Rust
//@ run-pass
|
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
enum list { #[allow(dead_code)] cons(isize, Box<list>), nil, }
|
|
|
|
pub fn main() {
|
|
list::cons(10, Box::new(list::cons(11, Box::new(list::cons(12, Box::new(list::nil))))));
|
|
}
|