summary refs log tree commit diff
path: root/src/test/compile-fail/issue-3099-a.rs
blob: 2721186585bce4d69e8eeb5cac1a91f0dac82e4a (plain)
1
2
3
4
5
enum a { b, c }

enum a { d, e } //~ ERROR Duplicate definition of type a

fn main() {}