rust/src/test/compile-fail/issue-3099-a.rs
2012-08-06 16:37:18 -07:00

6 lines
88 B
Rust

enum a { b, c }
enum a { d, e } //~ ERROR Duplicate definition of type a
fn main() {}