Extra test for #2311

This commit is contained in:
Tim Chevalier 2012-07-13 13:03:21 -07:00
parent cd31b7cf5c
commit 3c011aab74

View File

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