summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-3099-a.rs
blob: 9c3d8cf5a55f0c8bb67317f60452874e3fc41ccc (plain)
1
2
3
4
5
enum A { B, C }

enum A { D, E } //~ ERROR the name `A` is defined multiple times

fn main() {}