mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-29 20:18:01 +03:00
50339f595a
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
10 lines
167 B
Zig
10 lines
167 B
Zig
const A = enum { x };
|
|
const A = enum { x };
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :2:1: error: redeclaration of 'A'
|
|
// :1:1: note: other declaration here
|