rust/src/test/run-pass/coherence-copy-bound.rs

14 lines
109 B
Rust

trait X {}
impl<A:Copy> X for A {}
struct S {
x: int,
drop {}
}
impl X for S {}
pub fn main(){}