blob: f63036e47f6fca088ce167ceffc6123716dcbe65 [file] [log] [blame]
//! Regression test for https://github.com/rust-lang/rust/issues/2311
//@ check-pass
#![allow(non_camel_case_types)]
trait clam<A> {
fn get(self) -> A;
}
trait foo<A> {
fn bar<B, C: clam<A>>(&self, c: C) -> B;
}
pub fn main() {}