Add a test for issue #2312

This commit is contained in:
Brian Anderson 2012-08-06 11:08:52 -07:00
parent bd9d5e50be
commit 03330baf9c

View File

@ -0,0 +1,11 @@
// 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() { }