When a global const has invalid attributes, handling is incorrect, leading to a crash #2785.

This commit is contained in:
Christoffer Lerno
2026-01-21 00:43:30 +01:00
parent 472124dab3
commit 5fa820a462
3 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1 @@
const A @if(; // #error: An expression was expected.