rust/src/test/auxiliary/issue_2472_b.rs
2012-08-14 21:17:01 -07:00

15 lines
102 B
Rust

enum S = ();
impl S {
fn foo() { }
}
trait T {
fn bar();
}
impl S: T {
fn bar() { }
}