Files
iverilog/ivtest/vvp_tests/sv_enum_reference_order.json
T
Lars-Peter Clausen 8e420f56ff Add regression tests for enum named constant reference order
Check that a reference before an inner enum declaration resolves to a
matching enum named constant in the outer scope, while a reference after the
declaration resolves to the inner constant.

Also check that `-gno-strict-parameter-declaration` continues to allow a
reference to a later enum named constant and identifies it correctly in the
declaration-after-use warning.

Signed-off-by: Lars-Peter Clausen <[email protected]>
2026-08-04 21:22:08 -07:00

6 lines
125 B
JSON

{
"type" : "normal",
"source" : "sv_enum_reference_order.v",
"iverilog-args" : [ "-g2005-sv" ]
}