rust/src/test/run-pass/deriving-clone-generic-struct.rs
2013-03-04 16:13:15 -08:00

10 lines
87 B
Rust

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