Skip to content

Add few compile errors test cases - #26001

Open
mateusz834 wants to merge 1 commit into
ziglang:masterfrom
mateusz834:add-few-compile-error-test-cases
Open

Add few compile errors test cases#26001
mateusz834 wants to merge 1 commit into
ziglang:masterfrom
mateusz834:add-few-compile-error-test-cases

Conversation

@mateusz834

Copy link
Copy Markdown
Contributor

While looking at sema/Astgen I have noticed few compile error that were untested, since i have found a reproducer for them, decided to add them as compile errors in this PR.

// error
//
// :1:18: error: extern variables have no initializers
// :2:20: error: extern variables have no initializers

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

related #25941

@mlugg
mlugg self-requested a review November 21, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants