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]>
7 lines
227 B
JSON
7 lines
227 B
JSON
{
|
|
"type" : "normal",
|
|
"source" : "sv_enum_reference_order_relaxed.v",
|
|
"iverilog-args" : [ "-g2005-sv", "-gno-strict-parameter-declaration" ],
|
|
"gold" : "sv_enum_reference_order_relaxed"
|
|
}
|