yosys/tests/verilog/asgn_expr_not_sv_1.ys

8 lines
174 B
Plaintext

logger -expect error "Assignments within expressions are only supported in SystemVerilog mode." 1
read_verilog <<EOF
module top;
integer x, y;
initial y = ++x;
endmodule
EOF