mirror of https://github.com/YosysHQ/yosys.git
10 lines
241 B
Plaintext
10 lines
241 B
Plaintext
|
logger -expect error "For loop inline variable declaration is only supported in SystemVerilog mode!" 1
|
||
|
read_verilog <<EOT
|
||
|
module top;
|
||
|
integer z;
|
||
|
initial
|
||
|
for (integer i = 1; i < 10; i = i + 1)
|
||
|
z = i;
|
||
|
endmodule
|
||
|
EOT
|