mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 12:37:37 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
10 lines
163 B
Rust
10 lines
163 B
Rust
//@ run-pass
|
|
#![allow(non_camel_case_types)]
|
|
|
|
enum t { foo(Box<isize>), }
|
|
|
|
pub fn main() {
|
|
let tt = t::foo(Box::new(10));
|
|
match tt { t::foo(_z) => { } }
|
|
}
|