rust/src/test/run-pass/issue-2311-2.rs

11 lines
154 B
Rust

trait clam<A: copy> { }
class foo<A: copy> {
let x: A;
new(b: A) { self.x = b; }
fn bar<B,C:clam<A>>(c: C) -> B {
fail;
}
}
fn main() { }