Files
iverilog/ivtest/ivltests/br991b.v
T
Stephen Williams cea237b407 Add ivtest to the iverilog source tree
By adding ivtest to the iverilog source tree, it is easier to keep
the regression test synchronized with the source that is being tested.
This should be especially helpful for PRs that add a new feature, and
have a matching ivtest PR with the regression test for that feature.
2022-01-15 10:18:50 -08:00

28 lines
289 B
Verilog

// These don't do anything useful, but check for compiler errors.
module test();
integer i;
always begin
for (i = 0; i < 10; i = i + 1) ;
end
always begin
repeat (1) ;
end
always begin
while (1) ;
end
always begin
do ; while (1);
end
always begin
forever ;
end
endmodule