Make @(rodata) on constants yield 'not supported' message

This commit is contained in:
FourteenBrush
2026-04-22 14:33:21 +02:00
parent 489cf7d521
commit 44938b6b64

View File

@@ -4229,6 +4229,7 @@ gb_internal DECL_ATTRIBUTE_PROC(const_decl_attribute) {
name == "link_name" ||
name == "link_prefix" ||
name == "link_suffix" ||
name == "rodata" ||
false) {
error(elem, "@(%.*s) is not supported for compile time constant value declarations", LIT(name));
return true;