rust/src/test/run-pass/issue-2312.rs

11 lines
146 B
Rust
Raw Normal View History

2012-08-06 13:08:52 -05:00
// 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() { }