rust/src/test/run-pass/issue-2312.rs
2012-08-06 11:08:52 -07:00

11 lines
146 B
Rust

// Testing that the B's are resolved
trait clam<A> { }
enum foo = int;
impl foo {
fn bar<B,C:clam<B>>(c: C) -> B { fail; }
}
fn main() { }