Skip to content

Commit 03330ba

Browse files
committed
Add a test for issue #2312
1 parent bd9d5e5 commit 03330ba

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Testing that the B's are resolved
2+
3+
trait clam<A> { }
4+
5+
enum foo = int;
6+
7+
impl foo {
8+
fn bar<B,C:clam<B>>(c: C) -> B { fail; }
9+
}
10+
11+
fn main() { }

0 commit comments

Comments
 (0)