mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-27 18:56:24 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
14 lines
132 B
Rust
14 lines
132 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
|
|
#[derive(Clone)]
|
|
enum E {
|
|
A,
|
|
B(()),
|
|
C
|
|
}
|
|
|
|
pub fn main() {
|
|
let _ = E::A.clone();
|
|
}
|