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

10 lines
87 B
Rust
Raw Normal View History

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