yosys/tests/simple/unnamed_block_decl.sv

18 lines
218 B
Systemverilog

module unnamed_block_decl(z);
output integer z;
initial begin
integer x;
x = 1;
begin
integer y;
y = x + 1;
begin
integer z;
z = y + 1;
y = z + 1;
end
z = y + 1;
end
end
endmodule