mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-07 03:43:19 +02:00
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]>
6 lines
125 B
JSON
6 lines
125 B
JSON
{
|
|
"type" : "normal",
|
|
"source" : "sv_enum_reference_order.v",
|
|
"iverilog-args" : [ "-g2005-sv" ]
|
|
}
|