rust/src/test/auxiliary/issue_2472_b.rs

15 lines
102 B
Rust
Raw Normal View History

2012-08-14 23:16:51 -05:00
enum S = ();
impl S {
fn foo() { }
}
trait T {
fn bar();
}
impl S: T {
fn bar() { }
}