Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
redefinition_of_enums.zig
pretty
plain
permalink
blame
history
•
8 lines
•
177 B
1
const A = enum { x };
2
const A = enum { x };
3
4
// error
5
//
6
// :1:7: error: duplicate struct member name 'A'
7
// :2:7: note: duplicate name here
8
// :1:1: note: struct declared here