rust/src/test/run-pass/deriving-clone-generic-struct.rs
2013-03-22 06:30:53 -04:00

10 lines
88 B
Rust

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