rust/src/test/run-pass/deriving-clone-enum.rs

10 lines
69 B
Rust
Raw Normal View History

#[deriving(Clone)]
enum E {
A,
B(()),
C
}
fn main() {}