Files
iverilog/ivtest/ivltests/final_nested_block_task_fail.v
T
Lars-Peter Clausen de415b2f03 Add regression tests for nested function and final contexts
Check that statements that are not allowed in functions or final procedures
are still rejected when they are placed in a named block scope.

Signed-off-by: Lars-Peter Clausen <[email protected]>
2026-06-09 21:34:34 -07:00

13 lines
156 B
Verilog

// Check that final context is preserved when elaborating nested blocks.
module test;
task t;
endtask
final begin : nested
t;
end
endmodule