aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/duplicate_enum_field.zig
AgeCommit message (Collapse)Author
2025-09-16test: rename backend=stage2 to backend=selfhosted, and add backend=autoAlex Rønne Petersen
backend=auto (now the default if backend is omitted) means to let the compiler pick whatever backend it wants as the default. This is important for platforms where we don't yet have a self-hosted backend, such as loongarch64. Also purge a bunch of redundant target=native.
2024-08-29cases: update for new error wording, add coverage for field/decl name conflictmlugg
2024-01-20AstGen: detect duplicate field namesDavid Rubin
This logic was previously in Sema, which was unnecessary complexity, and meant the issue was not detected unless the declaration was semantically analyzed. This commit finishes the work which 941090d started. Resolves: #17916
2022-07-01Sema: validate `@intToEnum` int operand typeVeikka Tuominen