rust/src/test/run-pass/deriving-clone-generic-struct.rs

10 lines
88 B
Rust
Raw Normal View History

#[deriving(Clone)]
struct S<T> {
foo: (),
bar: (),
baz: T,
}
fn main() {}